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

HTML: Fix XSS vulnerability in description/comments #4852

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

SamantazFox
Copy link
Member

Before that PR, the comment/description content was not HTML escaped when parse_description was called with a JSON object that was lacking the "commandRuns" entry.

Closes #4727

Patch provided by e-mail, thanks to an anonymous user whose cats are named
Yoshi and Yasuo.

Comment is mine
@SamantazFox SamantazFox requested a review from a team as a code owner August 15, 2024 16:32
@SamantazFox SamantazFox requested review from syeopite and removed request for a team August 15, 2024 16:32
@syeopite syeopite added the need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something label Aug 20, 2024
@SamantazFox SamantazFox added ready and removed need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something labels Aug 24, 2024
@SamantazFox SamantazFox changed the title videos: Fix XSS vulnerability in description/comments Videos: Fix XSS vulnerability in description/comments Aug 24, 2024
@SamantazFox SamantazFox added the type:security-issue Houston, we've got a problem label Aug 24, 2024
@SamantazFox SamantazFox changed the title Videos: Fix XSS vulnerability in description/comments HTML: Fix XSS vulnerability in description/comments Aug 24, 2024
@SamantazFox SamantazFox merged commit 2876ee0 into iv-org:master Aug 24, 2024
7 of 8 checks passed
@SamantazFox SamantazFox deleted the html-escape branch August 24, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready type:security-issue Houston, we've got a problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Comments lack HTML sanitization
2 participants