CVE-2024-55226 Vaultwarden authenticated reflected cross-site scripting (XSS) vulnerability

Medium 5.4 Published Updated

An authenticated reflected XSS vulnerability in Vaultwarden allows attackers to execute scripts in victim browsers, potentially leading to account takeover.

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-2024-55226?

CVE-2024-55226 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Jan 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Vaultwarden v1.32.5 was discovered to contain an authenticated reflected cross-site scripting (XSS) vulnerability via the component /api/core/mod.rs.

Weakness: CWE-79

Which versions are affected by CVE-2024-55226?

2 open source packages ship an affected version, including vaultwarden. It affects 1 product.

PackageAffectedFixed in
vaultwarden crates.ioAll versions1.32.5
vaultwarden crates.ioAll versions1.32.5

Products include Dani-Garcia Vaultwarden.

How do I fix CVE-2024-55226?

Upgrade vaultwarden to 1.32.5 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-2024-55226 being exploited?

There is no known exploitation of CVE-2024-55226 in the wild and no public exploit code.

Sources

Also known as GHSA-vprm-27pv-jp3w.

Is CVE-2024-55226 in your software?

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

Check your SBOMs for free