CVE-2025-63785 Cross-site scripting in n/a
An attacker can inject malicious scripts into the Onlook text editor via unsanitized input, leading to arbitrary code execution in the user's session.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-63785?
CVE-2025-63785 is a medium-severity cross-site scripting vulnerability in n/a, published on 7 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2025-63785?
It affects 1 product.
Products include Onlook Onlook.
How do I fix CVE-2025-63785?
No fix has been published for CVE-2025-63785 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-63785 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-63785 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-f2mq-8pqx-fqh5.