Quick answers
- Is CVE-2023-3620 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-3620 being exploited in the wild.
- How severe is CVE-2023-3620?
- Low severity, with a CVSS score of 3, published 11 July 2023.
- Which products and versions are affected?
- tarteaucitronjs (npm) SEMVER:introduced=0,fixed=1.13.1.
- Is there a fix for CVE-2023-3620?
- Yes. tarteaucitronjs (npm): upgrade to 1.13.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2023-3620 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2023-3620?
- Check whether you run tarteaucitronjs (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- tarteaucitronjs (npm): upgrade to 1.13.1 or later
npm install tarteaucitronjs@1.13.1
Technical details
This is a stored cross-site scripting (XSS) vulnerability in the tarteaucitron.js library prior to version 1.13.1, arising from improper sanitization of HTML attributes. The vulnerable code reads element attributes without adequate filtering, allowing attackers to inject arbitrary JavaScript. An attacker must be able to control stored data (such as cookie consent configuration) that the library processes. The fix filters attributes to prevent XSS payload injection. Users should upgrade to v1.13.1 or later.
Affected products
- tarteaucitron tarteaucitron.js prior to 1.13.1
Identifiers
- CVE-2023-3620
- GHSA-f44m-65h3-99vc
Timeline
- 2023-07-11: disclosed
- 2023-07-11: patched: v1.13.1 released with fix