Skip to main content

CleverTap Web SDK CVE-2025-51684

| EUVDEUVD-2025-210564 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-30 mitre GHSA-72f8-2pfx-xx29
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open victim site in popup
  2. Delivery
    Craft malicious postMessage payload
  3. Exploit
    Send message to victim window
  4. Execution
    renderCustomHtml injects unsanitized HTML into DOM
  5. Persist
    Arbitrary JavaScript executes in hosting site origin
  6. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-delivered XSS via postMessage, no attacker auth needed, victim interaction required, scope changes to hosting origin with limited confidentiality and integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 31, 2026 - 20:22 NVD
6.1 (MEDIUM)
CVE Published
Jul 30, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular mobile/web analytics and engagement SDK, common in e-commerce and app ecosystems
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy