Skip to content

[modules | survey_accounts] Backport (to 26.0-release) GHSA-776p-5pwh-vc8p security fix - #11276

Open
priyavrat7 wants to merge 2 commits into
aces:26.0-releasefrom
priyavrat7:security/backport-ghsa-776p-5pwh-vc8p
Open

priyavrat7 wants to merge 2 commits into
aces:26.0-releasefrom
priyavrat7:security/backport-ghsa-776p-5pwh-vc8p

Conversation

@priyavrat7

Copy link
Copy Markdown
Contributor

What was wrong

The ValidateEmailSubmitInput.php endpoint returned JSON-encoded responses without explicitly setting the Content-Type header, potentially allowing browsers to interpret the response as HTML and resulting in XSS.

What changed

Added the following header after the permission check:

Content-Type: application/json; charset=utf-8

Reference

Backport of the upstream security fix addressing GHSA-776p-5pwh-vc8p.

This change is submitted specifically as a security backport to the 26.0-release branch.

@priyavrat7 priyavrat7 added Category: Bug PR or issue that aims to report or fix a bug Category: Security PR or issue that aims to improve security Language: PHP PR or issue that update PHP code 26.0.0-bugs Issues that were raised during the release testing for 26.0.0 labels Oct 30, 2026
@github-actions github-actions Bot added the Module: survey_accounts PR or issue related to the survey_accounts module label Oct 30, 2026
@priyavrat7

Copy link
Copy Markdown
Contributor Author

The checkstatic error is not related to this PR.

@driusan driusan self-assigned this Nov 2, 2026
@github-actions github-actions Bot added Module: electrophysiology_browser PR or issue related to electrophysiology_browser module Module: media PR or issue related to media module labels Nov 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

26.0.0-bugs Issues that were raised during the release testing for 26.0.0 Category: Bug PR or issue that aims to report or fix a bug Category: Security PR or issue that aims to improve security Language: PHP PR or issue that update PHP code Module: electrophysiology_browser PR or issue related to electrophysiology_browser module Module: media PR or issue related to media module Module: survey_accounts PR or issue related to the survey_accounts module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants