This repository has been archived by the owner on May 25, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SECURITY UPDATE: Fixed cross-site scripting issue in redirect result …
…page. Although setting HTML element content via innerHTML ignores script tags, it is possible to run arbitrary script code by using the onerror handler of img tags: result.html?<img src="foo.png" onerror="alert(document.cookie)"/> Setting the body content via textContent/innerText fixes this security hole. Thanks to Diederik van der Boor for the report and proof-of-concept.
- Loading branch information
4175032
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm very happy you've fixed this so quick, thanks! :)