CVE-2026-125395: Ampache before 8.4.0 Stored XSS via Song Lyrics ID3 Tag
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 showlyrics.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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue and who is exposed to the payload?
An attacker needs upload rights and must upload a song with malicious HTML or script in its lyrics ID3 tag. Any user who views the lyrics for that song in a browser can have the script executed in their session.
Which component handles the vulnerable lyrics content?
The vulnerable handling is in LyricsView.php getLyrics() and show_lyrics.inc.php, where song lyrics ID3 tag content is rendered without escaping.
What version should be used to address the issue?
The issue affects Ampache versions before 8.4.0. Upgrade to 8.4.0 or later.