CVE-2024-55224: Vaultwarden Vaultwarden HTML Injection Vulnerability Vulnerability
LOWCVE-2024-55224 is a LOW vaultwarden html injection vulnerability vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Vaultwarden libraries in the crates.io ecosystem. The issue involves vaultwarden html injection vulnerability. Remediation is available by upgrading affected packages to version 1.32.5.
CVE-2024-55224 at a Glance
How to Fix CVE-2024-55224
To remediate this vulnerability, upgrade all affected Vaultwarden dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade vaultwarden to 1.32.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for vaultwarden
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-55224, inspect your project dependencies for Vaultwarden:
inspect dependencies for vaultwarden
Analyze the terminal output to locate any version of Vaultwarden in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.32.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Vaultwarden, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-55224 Affected Vaultwarden Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vaultwarden
|
crates.io |
< 1.32.5
|
1.32.5
|
References
Frequently Asked Questions
What is CVE-2024-55224?
Which Vaultwarden versions are affected?
What version fixes CVE-2024-55224?
Is vaultwarden affected?
What CWE is associated with CVE-2024-55224?
How can I check crates.io dependencies for CVE-2024-55224?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g5x8-v2ch-gj2g",
"modified" : "2025-01-09T23:13:14Z",
"published" : "2025-01-09T21:31:32Z",
"aliases" : [ "CVE-2024-55224" ],
"summary" : "Vaultwarden HTML injection vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "vaultwarden"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.32.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-55224"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dani-garcia/vaultwarden"
}, {
"type" : "WEB",
"url" : "https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.4"
}, {
"type" : "WEB",
"url" : "https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.5"
}, {
"type" : "WEB",
"url" : "https://insinuator.net/2024/11/vulnerability-disclosure-authentication-bypass-in-vaultwarden-versions-1-32-5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-09T23:13:14Z",
"nvd_published_at" : "2025-01-09T21:15:29Z"
}
}