CVE-2024-55226 Vaultwarden authenticated reflected cross-site scripting (XSS) vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
vaultwarden crates.io | All versions | 1.32.5 |
vaultwarden crates.io | All versions | 1.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.
Other vulnerabilities in n/a
- CVE-2024-55225 Vaultwarden vulnerable to user impersonation
- CVE-2024-55224 Vaultwarden HTML injection vulnerability
- CVE-2024-39924 Privilege escalation in n/a
- CVE-2026-43912 Vaultwarden: Cross-Org Group Binding Enables Unauthorized Read And Write Access Into Another Organization
- CVE-2026-27802 Vaultwarden: Privilege Escalation via Bulk Permission Update to Unauthorized Collections by Manager
Sources
Also known as GHSA-vprm-27pv-jp3w.