Vulnerabilities in pkg:npm/clevertap-cordova
PACKAGECVE-2023-2507 is a CRITICAL (CVSS 9.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Clevertap cordova libraries in the npm ecosystem. The issue involves clevertap cordova plugin vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 2.7.0.
pkg:npm/clevertap-cordova
Vulnerability advisories affecting package pkg:npm/clevertap-cordova. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-x2ph-qqwm-9cc6 | CVE-2023-2507 | CRITICAL | CleverTap Cordova plugin vulnerable to Cross-site Scripting |
CVE-2023-2507 at a Glance
Security Impact
CVSS: 9.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:C/C:H/I:H/A:N).
How to Fix CVE-2023-2507
To remediate this vulnerability, upgrade all affected Clevertap cordova 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-cordova@2.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls clevertap-cordova
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-2507, inspect your project dependencies using npm:
npm ls clevertap-cordova
Analyze the terminal output to locate any version of Clevertap cordova in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.0), your application is affected.
Note: The npm ls clevertap-cordova 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 cordova, 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-2023-2507 Affected Clevertap cordova Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
clevertap-cordova
|
npm |
< 2.7.0
|
2.7.0
|
References
Frequently Asked Questions
What is CVE-2023-2507?
Which Clevertap cordova versions are affected?
What version fixes CVE-2023-2507?
Is clevertap-cordova affected?
What is the CVSS score of CVE-2023-2507?
What CWE is associated with CVE-2023-2507?
How can I check npm dependencies for CVE-2023-2507?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x2ph-qqwm-9cc6",
"modified" : "2025-09-24T20:50:52Z",
"published" : "2023-07-15T21:30:16Z",
"aliases" : [ "CVE-2023-2507" ],
"summary" : "CleverTap Cordova plugin vulnerable to Cross-site Scripting",
"details" : "CleverTap Cordova Plugin version 2.6.2 allows a remote attacker to execute JavaScript code in any application that is opened via a specially constructed deeplink by an attacker.\n\nThis is possible because the plugin does not correctly validate the data coming from the deeplinks before using them.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "clevertap-cordova"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2507"
}, {
"type" : "WEB",
"url" : "https://fluidattacks.com/advisories/maiden"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/CleverTap/clevertap-cordova"
}, {
"type" : "WEB",
"url" : "https://github.com/CleverTap/clevertap-cordova/releases/tag/2.7.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-17T10:48:39Z",
"nvd_published_at" : "2023-07-15T19:15:09Z"
}
}