Vulnerabilities in pkg:npm/clevertap-web-sdk
PACKAGECVE-2026-26862 is a HIGH (CVSS 8.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Clevertap web sdk libraries in the npm ecosystem. The issue involves clevertap web sdk is vulnerable to dom-based cross-site scripting (xss) via window.postmessage. Remediation is available by upgrading affected packages to version 1.15.3.
pkg:npm/clevertap-web-sdk
Vulnerability advisories affecting package pkg:npm/clevertap-web-sdk. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jfrq-hj9f-c8qx | CVE-2026-26862 | HIGH | CleverTap Web SDK is vulnerable to DOM-based Cross-Site Scripting (XSS) via window.postMessage |
| GHSA-j5mf-6rh3-rhgg | CVE-2026-26861 | HIGH | CleverTap Web SDK is vulnerable to DOM-based XSS via handleCustomHtmlPreviewPostMessageEvent function |
CVE-2026-26862 at a Glance
Security Impact
CVSS: 8.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L).
How to Fix CVE-2026-26862
To remediate this vulnerability, upgrade all affected Clevertap web sdk dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install clevertap-web-sdk@1.15.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls clevertap-web-sdk
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-26862, inspect your project dependencies using npm:
npm ls clevertap-web-sdk
Analyze the terminal output to locate any version of Clevertap web sdk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.15.3), your application is affected.
Note: The npm ls clevertap-web-sdk command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Clevertap web sdk, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-26862 Affected Clevertap web sdk Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
clevertap-web-sdk
|
npm |
< 1.15.3
|
1.15.3
|
References
Frequently Asked Questions
What is CVE-2026-26862?
Which Clevertap web sdk versions are affected?
What version fixes CVE-2026-26862?
Is clevertap-web-sdk affected?
What is the CVSS score of CVE-2026-26862?
What CWE is associated with CVE-2026-26862?
How can I check npm dependencies for CVE-2026-26862?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jfrq-hj9f-c8qx",
"modified" : "2026-03-01T01:26:39Z",
"published" : "2026-02-27T18:31:06Z",
"aliases" : [ "CVE-2026-26862" ],
"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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "clevertap-web-sdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.15.3"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-01T01:26:39Z",
"nvd_published_at" : "2026-02-27T18:16:12Z"
}
}