---
id: "CVE-2026-125395"
page: "https://infrastack.ai/live/CVE-2026-125395"
kind: "vulnerability"
aliases: ["CVE-2026-125395"]
title: "Ampache: song lyrics field lets uploaders run script in viewers' browsers"
severity: "medium"
cvss: 5.4
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ampache", "package", "php", "self-hosted"]
not_affected_if: ["no-untrusted-uploaders", "version-8.4.0-or-later"]
published_at: "2026-11-10T00:17:13+00:00"
first_seen_at: "2026-11-10T00:28:44+00:00"
updated_at: "2026-11-10T00:30:24+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125395", "first_seen_at": "2026-11-10T00:28:44+00:00"}]
exploit_sources: []
---

# Ampache: song lyrics field lets uploaders run script in viewers' browsers

Link for people: https://infrastack.ai/live/CVE-2026-125395 (this .md is for agents)

Ampache before 8.4.0 does not escape song lyrics when it displays them, so HTML and script inside the lyrics are run by the browser. A user with upload rights can embed script in a song's lyrics ID3 tag, which then runs for anyone who views those lyrics.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the Ampache version in use; versions below `8.4.0` are affected.
- Review whether untrusted users hold upload rights, since those users can plant the payload.

## Fix

- Ampache: move to `8.4.0` or later, per the sources.

## Timeline

- 2026-11-10T00:28:44+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125395

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ampache-before-8.4.0-stored-xss-via-song-lyrics-id3-tag
- [fix] Patch: github.com https://github.com/ampache/ampache/commit/94ab8461c6b28140d438ffce915ef645af73ef18
- [fix] Release notes: github.com https://github.com/ampache/ampache/releases/tag/8.4.0

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
