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.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.5%top 60.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20vaultwarden1.32.0ALPINE-CVE-2024-39926
Alpine:v3.21vaultwarden1.32.0-r0ALPINE-CVE-2024-39926
Alpine:v3.22vaultwarden1.32.0-r0ALPINE-CVE-2024-39926
Alpine:v3.23vaultwarden1.32.0-r0ALPINE-CVE-2024-39926
Alpine:v3.24vaultwarden1.32.0-r0ALPINE-CVE-2024-39926

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References