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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | vaultwarden | 1.32.0-r0 | — |
| Alpine v3.23 | vaultwarden | 1.32.0-r0 | — |
| Alpine v3.22 | vaultwarden | 1.32.0-r0 | — |
| Alpine v3.21 | vaultwarden | 1.32.0-r0 | — |
| Alpine v3.20 | vaultwarden | 1.32.0 | — |
Advisories 1
- WID-SEC-2024-2147 Vaultwarden: Mehrere Schwachstellen ermöglichen BSI CERT-Bund (WID) · Sep 15, 2024