GHSA-j5mf-6rh3-rhgg

Suggest an improvement
Source
https://github.com/advisories/GHSA-j5mf-6rh3-rhgg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-j5mf-6rh3-rhgg/GHSA-j5mf-6rh3-rhgg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j5mf-6rh3-rhgg
Aliases
Published
2026-02-27T18:31:06Z
Modified
2026-03-04T15:08:56.351001Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2026-02-27T18:16:12Z",
    "severity": "HIGH",
    "github_reviewed_at": "2026-03-01T01:26:26Z",
    "cwe_ids": [
        "CWE-346",
        "CWE-79"
    ],
    "github_reviewed": true
}
References

Affected packages

npm / clevertap-web-sdk

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.15.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-j5mf-6rh3-rhgg/GHSA-j5mf-6rh3-rhgg.json"