CVE-2023-2591 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nilsteampassnet/teampass

High 7.1 Published Updated

An attacker can inject malicious scripts into TeamPass web pages, potentially stealing user sessions or executing code in victim browsers.

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-2591?

CVE-2023-2591 is a high-severity cross-site scripting vulnerability in Teampass Teampass, published on 9 May 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

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitHub repository nilsteampassnet/teampass prior to 3.0.7.

Weakness: CWE-79

Which versions are affected by CVE-2023-2591?

2 open source packages ship an affected version, including nilsteampassnet/teampass. It affects 1 product.

PackageAffectedFixed in
nilsteampassnet/teampass PackagistAll versions3.0.7
nilsteampassnet/teampass PackagistAll versions3.0.7

Products include Teampass Teampass.

How do I fix CVE-2023-2591?

Upgrade nilsteampassnet/teampass to 3.0.7 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-2591 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2591 exists.

Public exploit code: 1 proofs of concept on GitHub.

All Teampass Teampass vulnerabilities

Sources

Also known as GHSA-prj5-2g2p-x2mw.

Is CVE-2023-2591 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free