Impact
CleverTap Web SDK version 1.15.1 fails to sanitize data received through window.postMessage before inserting it into the DOM. An attacker can craft a malicious message that, when processed by renderCustomHtml, injects arbitrary JavaScript and executes it within the context of the hosting page. This allows the attacker to acquire full control of the page, steal user data, and perform further actions on the user’s behalf.
Affected Systems
The vulnerability affects CleverTap Web SDK v1.15.1. No other affected versions are listed.
Risk and Exploitability
The CVSS score of 6.1 indicates moderate severity, while the EPSS score of <1% shows a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploits as of now. Attackers would need to send a crafted window.postMessage to a page that includes the SDK; if successful the injected script runs with the privileges of the hosting page, allowing arbitrary code execution in that context.
OpenCVE Enrichment