Vulnerability · Published Sep 13, 2024 · Assigned by mitre
CVE-2024-39926
Medium 5.4
In plain English
A medium-severity cross-site scripting in the vaultwarden package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in Vaultwarden (formerly Bitwarden_RS) 1.30.3. A stored cross-site scripting (XSS) or, due to the default CSP, HTML injection vulnerability has been discovered in the admin dashboard. This potentially allows an authenticated attacker to inject malicious code into the dashboard, which is then executed or rendered in the context of an administrator's browser when viewing the injected content. However, it is important to note that the default Content Security Policy (CSP) of the application blocks most exploitation paths, significantly mitigating the potential impact.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | vaultwarden | 1.32.0 | ALPINE-CVE-2024-39926 |
| Alpine:v3.21 | vaultwarden | 1.32.0-r0 | ALPINE-CVE-2024-39926 |
| Alpine:v3.22 | vaultwarden | 1.32.0-r0 | ALPINE-CVE-2024-39926 |
| Alpine:v3.23 | vaultwarden | 1.32.0-r0 | ALPINE-CVE-2024-39926 |
| Alpine:v3.24 | vaultwarden | 1.32.0-r0 | ALPINE-CVE-2024-39926 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N