A DOM-based Cross-Site Scripting (XSS) vulnerability...
Moderate severity
Unreviewed
Published
Nov 7, 2025
to the GitHub Advisory Database
•
Updated Nov 10, 2025
Description
Published by the National Vulnerability Database
Nov 7, 2025
Published to the GitHub Advisory Database
Nov 7, 2025
Last updated
Nov 10, 2025
A DOM-based Cross-Site Scripting (XSS) vulnerability exists in the text editor feature of the Onlook web application 0.2.32. This vulnerability occurs because user-supplied input is not properly sanitized before being directly injected into the DOM via innerHTML when editing a text element. An attacker can exploit this to inject malicious HTML and script code, which is then executed within the context of the preview iframe, allowing for the execution of arbitrary scripts in the user's session.
References