CVE-2024-39926
NixOS vulnerability analysis and mitigation

Overview

A stored cross-site scripting (XSS) or HTML injection vulnerability was discovered in Vaultwarden (formerly Bitwarden_RS) version 1.30.3 and earlier. The vulnerability affects the admin dashboard functionality and was discovered in September 2024. The issue 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 (NVD, MGM Security).

Technical details

The vulnerability specifically affects the user management page in the Vaultwarden admin dashboard, accessible at /admin. The issue lies in the modal dialogue used for changing role assignments for organization members, where payloads can be injected in the Organization and User fields. While the default Content Security Policy (CSP) of the application blocks most exploitation paths and prevents JavaScript execution via injected HTML code, certain HTML-based attacks remain possible (MGM Security).

Impact

The vulnerability allows for HTML injection attacks that could potentially lead to user redirection or other HTML-based attacks when the dialog is accessed. While the default CSP significantly mitigates the potential impact by preventing JavaScript execution, the vulnerability still poses a risk to administrators viewing the injected content (MGM Security).

Mitigation and workarounds

The vulnerability has been fixed in Vaultwarden version 1.32.0. Users are recommended to upgrade to this version or later to address the security issue. The fix was implemented through pull request #4737 (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management