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.
Published: 2026-11-09
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Stored XSS
Action: Patch Upgrade
AI Analysis

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.

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

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 yet.

History

Mon, 09 Nov 2026 23:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T23:27:59.405Z

Reserved: 2026-11-09T22:03:13.292Z

Link: CVE-2026-125395

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-10T00:17:13.547

Modified: 2026-11-10T00:17:13.547

Link: CVE-2026-125395

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-10T00:45:07Z

Weaknesses
  • CWE-79

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