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

xss: FAQ Category On Errors #5517

Merged
merged 1 commit into from Jul 28, 2020

Conversation

JediKev
Copy link
Contributor

@JediKev JediKev commented May 21, 2020

This addresses 1/2 of the vulnerability reported at #5514 where pasting an XSS Payload in the Category Description/Notes and saving changes without filling out required info executes the XSS Payload. This is due to the system not sanitizing the return values on errors. This adds Format::sanitize() to the Description and Notes fields so that any value displayed is properly sanitized. The Description/Notes are properly sanitized before saving to the database, the issue only lies when returning values on errors.

This addresses 1/2 of the vulnerability reported at 5514 where pasting an
XSS Payload in the Category Description/Notes and saving changes without
filling out required info executes the XSS Payload. This is due to the
system not sanitizing the return values on errors. This adds
`Format::sanitize()` to the Description and Notes fields so that any value
displayed is properly sanitized. The Description/Notes are properly
sanitized before saving to the database, the issue only lies when returning
values on errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants