6.1medium
A DOM-based Cross-Site Scripting (XSS) vulnerability exists in the text editor feature of the Onlook web application 0.2.32.
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| onlook onlook | 0.2.32 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de cross-site scripting (XSS) basada en DOM existe en la función de editor de texto de la aplicación web Onlook 0.2.32. Esta vulnerabilidad ocurre porque la entrada proporcionada por el usuario no se sanea correctamente antes de ser inyectada directamente en el DOM a través de innerHTML al editar un elemento de texto. Un atacante puede explotar esto para inyectar código HTML y de script malicioso, que luego se ejecuta dentro del contexto del iframe de vista previa, permitiendo la ejecución de scripts arbitrarios en la sesión del usuario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-63785 changed 2025-11-10 | CVE Terms of Use |
| NVD | CVE-2025-63785 changed 2026-11-07 | Public domain |