-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Security vulnerability that allows for scripts to execute on the server #1585
Labels
Comments
capricorn86
added a commit
that referenced
this issue
Nov 6, 2024
…e code to be executed by a <script> tag
capricorn86
added a commit
that referenced
this issue
Nov 6, 2024
capricorn86
added a commit
that referenced
this issue
Nov 6, 2024
capricorn86
added a commit
that referenced
this issue
Nov 6, 2024
…ide code to be executed by a <script> tag
capricorn86
added a commit
that referenced
this issue
Nov 6, 2024
…ide code to be executed by a <script> tag (#1588)
sparksam
added a commit
to safeinsights/trusted-output-app
that referenced
this issue
Nov 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you @kevin-mizu for finding this vulnerability!
This code snippet shows how it is possible to inject a server-side script into the "src" of a <script> tag. As Happy DOM uses
child_process.execFileSync()
in order to perform the fetch synchronous, the script could be injected by escaping from the URL string.The text was updated successfully, but these errors were encountered: