XSS in Ampache
CVE-2026-125395
Ampache before 8.4.0 contains a stored cross-site scripting vulnerability that allows users with upload rights to inject script through unescaped song lyrics in LyricsView.php getLyrics() and show_lyrics.inc.php. Attackers can upload a song whose lyrics ID3 tag contains HTML and script to execute code in the browser of any user viewing the lyrics.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 9.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/ampache/ampache/commit/94ab8461c6b28140d438ffce915ef645af73ef18 (patch)
- github.com/ampache/ampache (product)
- github.com/ampache/ampache/blob/8.3.0/src/Gui/Song/LyricsView.php (technical-description)
- github.com/ampache/ampache/releases/tag/8.4.0 (release-notes)
- www.vulncheck.com/advisories/ampache-before-8.4.0-stored-xss-via-song-lyrics-id… (third-party-advisory)