CVE-2023-3620 Cross-site Scripting (XSS) - Stored in amauric/tarteaucitron.js
Stored XSS in tarteaucitron.js allows attackers to inject malicious scripts, potentially compromising user sessions and data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-3620?
CVE-2023-3620 is a medium-severity cross-site scripting vulnerability in amauric/tarteaucitron.js, published on 11 Jul 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site Scripting (XSS) - Stored in GitHub repository amauric/tarteaucitron.js prior to v1.13.1.
Weakness: CWE-79
Which versions are affected by CVE-2023-3620?
2 open source packages ship an affected version, including tarteaucitronjs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tarteaucitronjs npm | All versions | 1.13.1 |
tarteaucitronjs npm | All versions | 1.13.1 |
Products include Tarteaucitron Tarteaucitron.
How do I fix CVE-2023-3620?
Upgrade tarteaucitronjs to 1.13.1 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-3620 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-3620 exists.
Sources
Also known as GHSA-f44m-65h3-99vc.