Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen victim site in popup
-
DeliveryCraft malicious postMessage payload
-
ExploitSend message to victim window
-
ExecutionrenderCustomHtml injects unsanitized HTML into DOM
-
PersistArbitrary JavaScript executes in hosting site origin
-
ImpactExfiltrate session data or perform user actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) The target website must have CleverTap Web SDK v1.15.1 deployed and active on the victim's page. (2) The renderCustomHtml function must be reachable via the SDK's postMessage listener - this appears to be default SDK behavior rather than an opt-in feature. (3) The attacker must obtain a window reference to the victim's browsing context, which is achievable if the attacker can induce the victim to open the target site from the attacker's page (via window.open) or if the target site is embedded in a frame the attacker controls. (4) User interaction is required: the victim must be actively browsing a page that has the SDK loaded. Exploitation is limited by the need for a window reference to the victim's page, which makes mass exploitation harder than a pure reflected XSS against a direct URL. Authentication state of the victim is not a prerequisite for triggering the XSS, but the value of exploitation scales with the victim's session privileges on the hosting site. |
| Impact | The CVSS 3.1 base score of 6.1 (Medium) with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N captures the key risk characteristics: network-reachable, no attacker authentication required, but victim interaction is necessary and impact is limited to low confidentiality and integrity. The Scope:Changed metric reflects that injected code runs in the hosting site's origin, potentially accessing session cookies, local storage, or performing actions on behalf of the user. However, real-world risk is moderated by several factors: EPSS at 0.16% (6th percentile) indicates that, relative to all known CVEs, exploitation probability is very low; the vulnerability is not in CISA KEV, meaning no confirmed active exploitation has been reported to CISA; and the attack requires an attacker to have a window reference to the victim's page (e.g., via popup or iframe), which introduces a practical prerequisite beyond pure network access. The GitHub issue reference is a disclosure report, not a weaponized POC. Overall, this is a real but contextually limited risk: organizations hosting high-value sessions (e.g., banking, e-commerce) with CleverTap SDK should treat it with higher urgency than the base score implies. |
| Exploit ScenarioDerived | An attacker who can open the victim's CleverTap-integrated site in a popup window (e.g., via a malicious page that calls window.open on the target site) sends a crafted postMessage payload containing an inline script tag or event-handler attribute. The CleverTap SDK's renderCustomHtml handler processes the payload and injects it into the DOM without sanitization, causing the victim's browser to execute the attacker's JavaScript in the hosting site's origin. This could be used to steal session cookies, capture form data, or perform authenticated actions on behalf of the victim. The GitHub issue at https://github.com/CleverTap/clevertap-web-sdk/issues/416 constitutes a public disclosure that reduces attacker discovery effort. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 31, 2026
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.
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.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
2DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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
EUVD-2025-210564
GHSA-72f8-2pfx-xx29
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB