Skip to content

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

HighCVSS 8.3 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
clevertap web sdk <= 1.15.2 after 1.15.2 Fixed
npm clevertap-web-sdk(npm) < 1.15.3 1.15.3 Fixed

Affected products

ProductAffected versionsFixed in
npm clevertap-web-sdk(npm) < 1.15.3 1.15.3
clevertap web sdk <= 1.15.2 No fix listed

References