Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-delivered XSS via postMessage, no attacker auth needed, victim interaction required, scope changes to hosting origin with limited confidentiality and integrity impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
CleverTap Web SDK v1.15.1 is vulnerable to Cross Site Scripting (XSS). The application does not sanitize untrusted data received via window.postMessage before injecting it into the page DOM. An attacker can craft a malicious message that, when processed by renderCustomHtml, results in execution of arbitrary JavaScript in the context of the hosting site.
AnalysisAI
DOM-based Cross-Site Scripting in CleverTap Web SDK v1.15.1 allows an attacker to execute arbitrary JavaScript in a victim's browser by sending a crafted message via the window.postMessage API. The SDK's renderCustomHtml function processes postMessage payloads without sanitization before injecting them into the page DOM, enabling script injection in the context of any hosting site that integrates this SDK. No public exploit confirmed at time of analysis; EPSS is very low (0.16%, 6th percentile), and this vulnerability is not listed in the CISA KEV catalog.
Technical ContextAI
CleverTap is a customer engagement and analytics platform. Its Web SDK (v1.15.1) is a JavaScript library embedded by websites to enable push notifications, in-app messaging, and user analytics. The vulnerability resides in the renderCustomHtml function, which listens for window.postMessage events - a browser API allowing cross-origin inter-frame communication - and injects received data directly into the DOM without output encoding or sanitization. This maps to CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a DOM-based XSS sink pattern. The postMessage API is inherently cross-origin, meaning any window with a reference to the victim's browsing context (e.g., opener, parent frame) can send an arbitrary payload. The CPE data provided is 'n/a', indicating NVD has not yet assigned a formal product identifier, which limits automated scanning and dependency-tracking tool coverage.
RemediationAI
No vendor-released patched version has been identified at time of analysis. Security teams should monitor the CleverTap Web SDK GitHub repository (https://github.com/CleverTap/clevertap-web-sdk) and the associated issue at https://github.com/CleverTap/clevertap-web-sdk/issues/416 for a patched release. As compensating controls, operators can implement a strict Content Security Policy (CSP) with a restrictive script-src directive to limit script execution sources - this directly constrains XSS impact but may conflict with existing SDK functionality and requires testing. Additionally, postMessage event listeners on the hosting page can be audited and wrapped with origin validation checks (verifying event.origin against an allowlist) to reject messages from unexpected origins before they reach the SDK's handler. Removing or disabling the renderCustomHtml feature if it is not actively used in production is the most targeted mitigation, though SDK internals may not expose a toggle without forking the source.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-210564
GHSA-72f8-2pfx-xx29