# CVE-2026-26861: CleverTap Web SDK is vulnerable to DOM-based XSS via handleCustomHtmlPreviewPostMessageEvent function

- Severity: High 8.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-27T00:00:00.000Z
- Modified: 2026-06-17T10:26:21.957Z
- Also known as: GHSA-j5mf-6rh3-rhgg
- Weaknesses: CWE-79, CWE-346
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- clevertap-web-sdk (npm): before 1.15.3
- clevertap clevertap_web_sdk: up to 1.15.2

## Every score

- CISA-ADP: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`

## References

- <https://github.com/CleverTap/clevertap-web-sdk/issues/424> (exploit, issue-tracking, vendor-advisory, web)
- <https://github.com/CleverTap/clevertap-web-sdk/pull/417> (patch, web)
- <https://github.com/CleverTap/clevertap-web-sdk/blob/cf1b65d/src/util/campaignRender/nativeDisplay.js#L118-L121> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26861> (advisory)
- <https://github.com/CleverTap/clevertap-web-sdk/commit/84695b726a751614ddc3a4f71382c239c5833e03> (web)
- <https://github.com/CleverTap/clevertap-web-sdk> (package)

## Sources

- CVE List: [CVE-2026-26861](https://www.cve.org/CVERecord?id=CVE-2026-26861), CVE Terms of Use, modified 2026-02-27
- GitHub Advisory Database: [GHSA-j5mf-6rh3-rhgg](https://github.com/advisories/GHSA-j5mf-6rh3-rhgg), CC-BY-4.0, modified 2026-03-04
- NVD: [CVE-2026-26861](https://nvd.nist.gov/vuln/detail/CVE-2026-26861), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26861 · Whole record: https://cve.day/CVE-2026-26861.json · Rebuilt by cve.day 2026-11-25T22:59:15.033Z
