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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

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
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