CVE-2024-55224 Vaultwarden HTML injection vulnerability
Attackers can execute arbitrary code by injecting HTML payloads into email username fields in Vaultwarden.
- 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-2024-55224?
CVE-2024-55224 is a critical cross-site scripting vulnerability in n/a, published on 9 Jan 2025. 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
An HTML injection vulnerability in Vaultwarden prior to v1.32.5 allows attackers to execute arbitrary code via injecting a crafted payload into the username field of an e-mail message.
Weakness: CWE-79
Which versions are affected by CVE-2024-55224?
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-55224?
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-55224 being exploited?
There is no known exploitation of CVE-2024-55224 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2024-55225 Vaultwarden vulnerable to user impersonation
- 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
- CVE-2026-27803 Vaultwarden: Collection Management Operations Allowed Without `manage` Verification for Manager Role
Sources
Also known as GHSA-g5x8-v2ch-gj2g, MINI-cgrq-jj39-564m.