CVE-2025-63785: n/a
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.
AI Analysis
Technical Summary
CVE-2025-63785 identifies a DOM-based Cross-Site Scripting (XSS) vulnerability in the Onlook web application, specifically in its text editor feature version 0.2.32. The root cause is improper sanitization of user-supplied input before it is injected into the Document Object Model (DOM) via the innerHTML property during the editing of text elements. This vulnerability allows an attacker to craft malicious HTML and JavaScript code that, when injected, executes within the context of the preview iframe. Because the script runs in the victim's browser session, it can lead to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of the user. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), CWE-20 (Improper Input Validation), and CWE-116 (Improper Encoding or Escaping of Output). The CVSS v3.1 score of 6.1 reflects a medium severity, with an attack vector of network (remote), low attack complexity, no privileges required, but requiring user interaction. The scope is changed (S:C), indicating that the vulnerability affects components beyond the vulnerable component itself, and impacts confidentiality and integrity but not availability. No patches or known exploits are currently available, but the vulnerability's presence in a web application used for content editing poses a significant risk if exploited. The vulnerability's exploitation depends on tricking users into interacting with malicious content, which then executes within their browser context.
Potential Impact
For European organizations, the impact of CVE-2025-63785 can be significant, especially for those relying on the Onlook web application for content creation or collaboration. Successful exploitation could lead to unauthorized disclosure of sensitive information, session hijacking, and potential lateral movement within internal networks if attackers leverage stolen credentials or session tokens. This could undermine data confidentiality and integrity, disrupt business operations, and damage organizational reputation. Given the web-based nature of the vulnerability, it can be exploited remotely without authentication, increasing the attack surface. Organizations in sectors with high regulatory requirements for data protection, such as finance, healthcare, and government, face increased compliance risks if this vulnerability is exploited. Additionally, the vulnerability could be used as a foothold for more complex attacks, including phishing campaigns or malware distribution, further amplifying its impact.
Mitigation Recommendations
To mitigate CVE-2025-63785, organizations should implement multiple layers of defense: 1) Apply patches or updates from the Onlook application vendor as soon as they become available. 2) If patches are not yet available, implement strict input validation and sanitization on all user inputs before injecting them into the DOM, preferably using secure APIs that avoid innerHTML or employ libraries that automatically escape content. 3) Deploy Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the application context. 4) Educate users about the risks of interacting with untrusted or suspicious content within the application, emphasizing caution with shared or externally sourced text elements. 5) Monitor web application logs and network traffic for unusual activity indicative of attempted XSS exploitation. 6) Consider using web application firewalls (WAFs) with rules tailored to detect and block XSS payloads targeting the Onlook application. 7) Conduct regular security assessments and code reviews focusing on client-side scripting and DOM manipulation practices to identify and remediate similar vulnerabilities proactively.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Italy, Spain
CVE-2025-63785: n/a
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.
AI-Powered Analysis
Technical Analysis
CVE-2025-63785 identifies a DOM-based Cross-Site Scripting (XSS) vulnerability in the Onlook web application, specifically in its text editor feature version 0.2.32. The root cause is improper sanitization of user-supplied input before it is injected into the Document Object Model (DOM) via the innerHTML property during the editing of text elements. This vulnerability allows an attacker to craft malicious HTML and JavaScript code that, when injected, executes within the context of the preview iframe. Because the script runs in the victim's browser session, it can lead to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of the user. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), CWE-20 (Improper Input Validation), and CWE-116 (Improper Encoding or Escaping of Output). The CVSS v3.1 score of 6.1 reflects a medium severity, with an attack vector of network (remote), low attack complexity, no privileges required, but requiring user interaction. The scope is changed (S:C), indicating that the vulnerability affects components beyond the vulnerable component itself, and impacts confidentiality and integrity but not availability. No patches or known exploits are currently available, but the vulnerability's presence in a web application used for content editing poses a significant risk if exploited. The vulnerability's exploitation depends on tricking users into interacting with malicious content, which then executes within their browser context.
Potential Impact
For European organizations, the impact of CVE-2025-63785 can be significant, especially for those relying on the Onlook web application for content creation or collaboration. Successful exploitation could lead to unauthorized disclosure of sensitive information, session hijacking, and potential lateral movement within internal networks if attackers leverage stolen credentials or session tokens. This could undermine data confidentiality and integrity, disrupt business operations, and damage organizational reputation. Given the web-based nature of the vulnerability, it can be exploited remotely without authentication, increasing the attack surface. Organizations in sectors with high regulatory requirements for data protection, such as finance, healthcare, and government, face increased compliance risks if this vulnerability is exploited. Additionally, the vulnerability could be used as a foothold for more complex attacks, including phishing campaigns or malware distribution, further amplifying its impact.
Mitigation Recommendations
To mitigate CVE-2025-63785, organizations should implement multiple layers of defense: 1) Apply patches or updates from the Onlook application vendor as soon as they become available. 2) If patches are not yet available, implement strict input validation and sanitization on all user inputs before injecting them into the DOM, preferably using secure APIs that avoid innerHTML or employ libraries that automatically escape content. 3) Deploy Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the application context. 4) Educate users about the risks of interacting with untrusted or suspicious content within the application, emphasizing caution with shared or externally sourced text elements. 5) Monitor web application logs and network traffic for unusual activity indicative of attempted XSS exploitation. 6) Consider using web application firewalls (WAFs) with rules tailored to detect and block XSS payloads targeting the Onlook application. 7) Conduct regular security assessments and code reviews focusing on client-side scripting and DOM manipulation practices to identify and remediate similar vulnerabilities proactively.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2025-10-27T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 690e23aa5ed2b3c9882b3444
Added to database: 11/7/2025, 4:51:54 PM
Last enriched: 11/14/2025, 5:13:22 PM
Last updated: 12/23/2025, 3:35:00 AM
Views: 78
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2024-7316: CWE-1284 Improper Validation of Specified Quantity in Input in Mitsubishi Electric Corporation Mitsubishi Electric CNC M800V Series M800VW
MediumCVE-2023-52163: n/a
HighCVE-2025-66735: n/a
HighCVE-2025-68480: CWE-405: Asymmetric Resource Consumption (Amplification) in marshmallow-code marshmallow
MediumCVE-2025-68476: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kedacore keda
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.