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 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.
- Score
- 5.1 medium
- Published
- 2026-11-09
- Links
- NVD · cve.org · Report wrong data
Matched ports (5)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| audio/ampache | ampache-php82 | 5.6.0_1 | unaddressed | crees@FreeBSD.org |
| audio/ampache | ampache-php83 | 5.6.0_1 | unaddressed | crees@FreeBSD.org |
| audio/ampache | ampache-php84 | 5.6.0_1 | unaddressed | crees@FreeBSD.org |
| audio/ampache | ampache-php85 | 5.6.0_1 | unaddressed | crees@FreeBSD.org |
| audio/ampache | ampache-php86 | 5.6.0_1 | unaddressed | crees@FreeBSD.org |
Template for a VuXML entry
Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.
Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>ampache-php82 -- FIXME</topic>
<affects>
<package>
<name>ampache-php82</name>
<name>ampache-php83</name>
<name>ampache-php84</name>
<name>ampache-php85</name>
<name>ampache-php86</name>
<range><lt>8.4.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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 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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-125395</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-125395</url>
</references>
<dates>
<discovery>2026-11-09</discovery>
<entry>2026-11-10</entry>
</dates>
</vuln>