You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 25, 2023. It is now read-only.
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.
0 commit comments