{"id":"GHSA-jfrq-hj9f-c8qx","summary":"CleverTap Web SDK is vulnerable to DOM-based Cross-Site Scripting (XSS) via window.postMessage","details":"CleverTap Web SDK version 1.15.2 and earlier is vulnerable to DOM-based Cross-Site Scripting (XSS) via window.postMessage in the Visual Builder module. The origin validation in src/modules/visualBuilder/pageBuilder.js (lines 56-60) uses the includes() method to verify the originUrl contains \"dashboard.clevertap.com\", which can be bypassed by an attacker using a crafted subdomain.","aliases":["CVE-2026-26862"],"modified":"2026-03-04T15:12:09.545600Z","published":"2026-02-27T18:31:06Z","database_specific":{"github_reviewed_at":"2026-03-01T01:26:39Z","nvd_published_at":"2026-02-27T18:16:12Z","cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26862"},{"type":"WEB","url":"https://github.com/CleverTap/clevertap-web-sdk/issues/442"},{"type":"WEB","url":"https://github.com/CleverTap/clevertap-web-sdk/pull/417"},{"type":"WEB","url":"https://github.com/CleverTap/clevertap-web-sdk/commit/766f75f0c9082a27eb0b59c9fa4b0d9b19ba3d10"},{"type":"WEB","url":"https://github.com/CleverTap/clevertap-web-sdk/commit/84695b726a751614ddc3a4f71382c239c5833e03"},{"type":"PACKAGE","url":"https://github.com/CleverTap/clevertap-web-sdk"},{"type":"WEB","url":"https://github.com/CleverTap/clevertap-web-sdk/blob/cf1b65d/src/modules/visualBuilder/pageBuilder.js#L56-L60"}],"affected":[{"package":{"name":"clevertap-web-sdk","ecosystem":"npm","purl":"pkg:npm/clevertap-web-sdk"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-jfrq-hj9f-c8qx/GHSA-jfrq-hj9f-c8qx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L"}]}