CVE-2024-39926
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.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39926 |
| Alpine Linux 3.23 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39926 |
| Alpine Linux 3.22 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39926 |
| Alpine Linux 3.21 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39926 |
| Alpine Linux 3.20 | vaultwarden | Fixed | 1.32.0 | ALPINE-CVE-2024-39926 |
References
- https://github.com/dani-garcia/vaultwarden/blob/1.30.3/src/static/scripts/admin_users.js#L201
- https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.0
- https://www.mgm-sp.com/cve/html-injection-in-vaultwarden
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.