8.3high
CleverTap Web SDK is vulnerable to DOM-based XSS via handleCustomHtmlPreviewPostMessageEvent function
- Severity
- 8.3high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-j5mf-6rh3-rhgg
Description
CleverTap Web SDK version 1.15.2 and earlier is vulnerable to Cross-Site Scripting (XSS) via window.postMessage. The handleCustomHtmlPreviewPostMessageEvent function in src/util/campaignRender/nativeDisplay.js performs insufficient origin validation using the includes() method, which can be bypassed by an attacker using a subdomain
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| clevertap-web-sdk (npm) | before 1.15.3 | GitHub Advisory Database |
| clevertap clevertap_web_sdk | up to 1.15.2 | NVD |
All scores
| CISA-ADP | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
| GitHub | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
Classification
What each source says
CVE List
CleverTap Web SDK version 1.15.2 and earlier is vulnerable to Cross-Site Scripting (XSS) via window.postMessage. The handleCustomHtmlPreviewPostMessageEvent function in src/util/campaignRender/nativeDisplay.js performs insufficient origin validation using the includes() method, which can be bypassed by an attacker using a subdomain
GitHub Advisory Database
CleverTap Web SDK version 1.15.2 and earlier is vulnerable to Cross-site Scripting (XSS) via window.postMessage. The handleCustomHtmlPreviewPostMessageEvent function in src/util/campaignRender/nativeDisplay.js performs insufficient origin validation using the includes() method, which can be bypassed by an attacker using a subdomain.
NVD (es)
CleverTap Web SDK versión 1.15.2 y anteriores es vulnerable a Cross-Site Scripting (XSS) a través de window.postMessage. La función handleCustomHtmlPreviewPostMessageEvent en src/util/campaignRender/nativeDisplay.js realiza una validación de origen insuficiente utilizando el método includes(), que puede ser eludida por un atacante utilizando un subdominio.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-26861 changed 2026-02-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j5mf-6rh3-rhgg changed 2026-03-04 | CC-BY-4.0 |
| NVD | CVE-2026-26861 changed 2026-06-17 | Public domain |