CVE-2023-2021 Cross-site Scripting (XSS) - Stored in nilsteampassnet/teampass
Stored XSS in TeamPass allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-2021?
CVE-2023-2021 is a medium-severity cross-site scripting vulnerability in Teampass Teampass, published on 13 Apr 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Cross-site Scripting (XSS) - Stored in GitHub repository nilsteampassnet/teampass prior to 3.0.3.
Weakness: CWE-79
Which versions are affected by CVE-2023-2021?
2 open source packages ship an affected version, including nilsteampassnet/teampass. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nilsteampassnet/teampass Packagist | All versions | 3.0.3 |
nilsteampassnet/teampass Packagist | All versions | 3.0.3 |
Products include Teampass Teampass.
How do I fix CVE-2023-2021?
Upgrade nilsteampassnet/teampass to 3.0.3 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-2021 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2021 exists.
Other vulnerabilities in Teampass Teampass
Sources
Also known as GHSA-4h2q-84w7-4mhx.