Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unescaped error messages #5329

Merged
merged 2 commits into from
Mar 20, 2025
Merged

Fix unescaped error messages #5329

merged 2 commits into from
Mar 20, 2025

Conversation

nilmerg
Copy link
Member

@nilmerg nilmerg commented Feb 21, 2025

In both cases the input, which wasn't escaped before, comes from a form element that doesn't allow any user to change its content. An ordinary user would need to access the DOM in order to do that.

Both forms are protected by CSRF, so this mitigates any potential exploit as well.

@nilmerg nilmerg added the bug Something isn't working label Feb 21, 2025
@nilmerg nilmerg added this to the 2.12.3 milestone Feb 21, 2025
@nilmerg nilmerg self-assigned this Feb 21, 2025
@cla-bot cla-bot bot added the cla/signed label Feb 21, 2025
@nilmerg nilmerg force-pushed the fix/unescaped-error-messages branch from 33da12c to 14c0748 Compare March 20, 2025 13:57
@nilmerg nilmerg merged commit acfad5a into main Mar 20, 2025
22 checks passed
@nilmerg nilmerg deleted the fix/unescaped-error-messages branch March 20, 2025 15:20
nilmerg added a commit that referenced this pull request Mar 25, 2025
In both cases the input, which wasn't escaped before, comes from a form
element that doesn't allow any user to change its content. An ordinary
user would need to access the DOM in order to do that.

Both forms are protected by CSRF, so this mitigates any potential
exploit as well.

(cherry picked from commit acfad5a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla/signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant