CVE-2023-2507 CleverTap Cordova Plugin 2.6.2 - Reflected XSS
Remote attackers can execute JavaScript in mobile apps via malicious deeplinks due to insufficient input validation in the CleverTap Cordova Plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-2507?
CVE-2023-2507 is a critical cross-site scripting vulnerability in CleverTap Cordova Plugin, published on 15 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
This is possible because the plugin does not correctly validate the data coming from the deeplinks before using them.
Weakness: CWE-79
Which versions are affected by CVE-2023-2507?
2 open source packages ship an affected version, including clevertap-cordova. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
clevertap-cordova npm | All versions | 2.7.0 |
clevertap-cordova npm | All versions | 2.7.0 |
Products include Clevertap Clevertap.
How do I fix CVE-2023-2507?
Upgrade clevertap-cordova to 2.7.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-2507 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2507 exists.
Sources
Also known as GHSA-x2ph-qqwm-9cc6.