{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-26861","id":"CVE-2026-26861","title":"CleverTap Web SDK  is vulnerable to DOM-based XSS via handleCustomHtmlPreviewPostMessageEvent function","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","descriptionLong":"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","published":"2026-02-27T00:00:00.000Z","updated":"2026-10-28T02:31:02.238158388Z","reserved":"2026-02-16T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"clevertap-web-sdk","purl":"pkg:npm/clevertap-web-sdk","ranges":["<1.15.3"],"fixed":["1.15.3"],"advisory":"GHSA-j5mf-6rh3-rhgg"}],"cwes":["CWE-346","CWE-79"],"aliases":["GHSA-j5mf-6rh3-rhgg"],"references":[{"url":"https://github.com/CleverTap/clevertap-web-sdk/issues/424","tags":["Exploit","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://github.com/CleverTap/clevertap-web-sdk/pull/417","tags":["Patch","fix","web"]},{"url":"https://github.com/CleverTap/clevertap-web-sdk/blob/cf1b65d/src/util/campaignRender/nativeDisplay.js#L118-L121","tags":["Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26861.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26861","tags":["advisory"]},{"url":"https://github.com/CleverTap/clevertap-web-sdk/commit/84695b726a751614ddc3a4f71382c239c5833e03","tags":["web"]},{"url":"https://github.com/CleverTap/clevertap-web-sdk","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00205,"epssPercentile":0.10721,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-26861","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26861","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-26861","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j5mf-6rh3-rhgg","ok":true,"note":"GHSA-j5mf-6rh3-rhgg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-26861","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}