XSS in Onlook
CVE-2025-63785
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.003 (17.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Onlook — versions 0.2.32
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Broken Link)
- cve@mitre.org (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-63785?
- CVE-2025-63785 is a medium-severity vulnerability in Onlook, classified under Improper Input Validation. CVSS score: 6.1/10. Published 2025-11-07.
- How severe is CVE-2025-63785?
- Medium severity. CVSS v3 base score is 6.1 out of 10.