Intel

AIKIDO-2025-10332

clevertap-web-sdk is vulnerable to Permissive Cross-domain Policy with Untrusted Domains

Permissive Cross-domain Policy with Untrusted Domains Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 29, 2025

20

Low Risk

This Affects:

JSclevertap-web-sdk
1.14.2 - 1.15.2
Fixed in 1.15.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a security bypass due to improper origin validation in the handleMessageEvent function, which uses includes() for loose domain matching (e.g., allowing evil.clevertap.com if the trusted domain was clevertap.com). An attacker who compromises any subdomain can bypass origin validation and conduct malicious postMessage spoofing attempts, potentially leading to Cross-site Scripting (XSS) or click-jacking attacks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

clevertap-web-sdk is vulnerable to Permissive Cross-domain Policy with Untrusted Domains in versions 1.14.2 - 1.15.2.

How to fix this

Upgrade the clevertap-web-sdk library to the patch version.