Advisory

GHSA-j5mf-6rh3-rhgg

Also known as: CVE-2026-26861

Summary

CleverTap Web SDK is vulnerable to DOM-based XSS via handleCustomHtmlPreviewPostMessageEvent function

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-27 18:31 UTC
Modified
2026-03-04 15:12 UTC

Affected packages and fixes

clevertap-web-sdk

npm · All systems

Affected

  • introduced 0, fixed 1.15.3 (semver)

Fixed versions

1.15.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences