CVE-2026-125395

Ampache before 8.4.0 Stored XSS via Song Lyrics ID3 Tag

Published Nov 9, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Ampache allows users who can upload audio files to embed JavaScript in the ID3 lyric tag of a song. When the song is viewed through the lyrics view component, the unescaped tag content is placed in the page, allowing an attacker to run code in the browser of any user who accesses the lyric text. The vulnerability is a classic stored cross‑site scripting flaw that can lead to session hijacking, credential theft, or further network exploitation within the victim’s browser context.

Affected Systems

The flaw exists in all Ampache releases prior to version 8.4.0. Users running Ampache 8.3.9 or earlier that permit file uploads are vulnerable. No specific operating systems or database versions are tied to the issue; the weakness lies in the web application's handling of ID3 lyrics.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity, and the EPSS score is not available, suggesting limited data on exploitation frequency. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit it only when a user with upload rights submits a malicious file; the path to exploitation is straightforward and does not require additional prerequisites.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Ampache 8.4.0 or later, where the lyrics view sanitizes ID3 tags
  • If an upgrade cannot be performed immediately, enforce server‑side input validation to strip or encode HTML and script from lyric tags before storage
  • Restrict upload permissions to trusted users or implement an approval workflow for new uploads

Generated by OpenCVE AI on November 10, 2026 at 00:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Ampache before 8.4.0 Stored XSS via Song Lyrics ID3 Tag
First Time appeared Ampache
Ampache ampache
Weaknesses CWE-79
CPEs cpe:2.3:a:ampache:ampache:*:*:*:*:*:*:*:*
Vendors & Products Ampache
Ampache ampache
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 10, 2026, 7:05 PM
Reserved
Nov 9, 2026, 10:03 PM
Status
Deferred
Published
Nov 10, 2026, 12:17 AM
Modified
Nov 12, 2026, 9:09 PM