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 i…
Impact
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.
An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · Ampache
| Product | Affected versions |
|---|---|
| Ampache | before 8.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ampache/ampache/commit/94ab8461c6b28140d438ffce915ef645af73ef18
- https://github.com/ampache/ampache
- https://github.com/ampache/ampache/blob/8.3.0/src/Gui/Song/LyricsView.php#L70
- https://github.com/ampache/ampache/releases/tag/8.4.0
- https://www.vulncheck.com/advisories/ampache-before-8.4.0-stored-xss-via-song-lyrics-id3-tag
- https://github.com/advisories/GHSA-8q4f-r7f6-8g49
- https://nvd.nist.gov/vuln/detail/CVE-2026-125395