{"id":"CVE-2026-26861","aliases":["CVE-2026-26861","GHSA-j5mf-6rh3-rhgg"],"related":[],"kind":"vulnerability","state":"published","title":"CleverTap Web SDK  is vulnerable to DOM-based XSS via handleCustomHtmlPreviewPostMessageEvent function","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-02-27T00:00:00.000Z","modified":"2026-06-17T10:26:21.957Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"}],"cwes":["CWE-79","CWE-346"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.15.3"}],"ecosystem":"npm","package":"clevertap-web-sdk","purl":"pkg:npm/clevertap-web-sdk","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.15.2"}],"vendor":"clevertap","product":"clevertap_web_sdk","cpe":"cpe:2.3:a:clevertap:clevertap_web_sdk:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/CleverTap/clevertap-web-sdk/issues/424","tags":["exploit","issue-tracking","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/CleverTap/clevertap-web-sdk/pull/417","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/CleverTap/clevertap-web-sdk/blob/cf1b65d/src/util/campaignRender/nativeDisplay.js#L118-L121","tags":["product","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26861","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/CleverTap/clevertap-web-sdk/commit/84695b726a751614ddc3a4f71382c239c5833e03","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/CleverTap/clevertap-web-sdk","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-02-27T19:42:32.310Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-26861","url":"https://www.cve.org/CVERecord?id=CVE-2026-26861","licence":"CVE Terms of Use","modified":"2026-02-27T19:42:58.097Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j5mf-6rh3-rhgg","url":"https://github.com/advisories/GHSA-j5mf-6rh3-rhgg","licence":"CC-BY-4.0","modified":"2026-03-04T15:12:09.217Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-26861","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26861","licence":"Public domain","modified":"2026-06-17T10:26:21.957Z"}],"updatedAt":"2026-11-25T22:59:15.033Z","epss":{"score":0.00202,"percentile":0.10738,"date":"2026-12-01T12:00:22.000Z"}}