CVE-2026-48559

Lightweight Music Server 3.76.0 Stored XSS via Media File Metadata Tags

Published Jun 1, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Lightweight Music Server (LMS) though 3.76.0 contains a stored cross-site scripting vulnerability that allows attackers to execute arbitrary JavaScript by embedding malicious HTML in media file metadata tags such as GENRE, ARTIST, or ALBUM. Attackers can introduce a crafted media file into the victim's library, causing the payload to be saved during library scanning and executed automatically in the web interface due to tag content being rendered using Wt::TextFormat::UnsafeXHTML without sanitization in src/lms/ui/Utils.cpp.

Analysis

AI-generated

Technical impact

The vulnerability allows attackers to embed arbitrary JavaScript in media file metadata such as GENRE, ARTIST, or ALBUM. When the server scans the library, the unsanitized metadata is saved and rendered in the web interface using an unsafe XHTML formatter, causing the malicious script to execute in the victim’s browser. This can lead to session hijacking, defacement, or theft of sensitive information in the context of the LMS web application.

Affected Systems

epoupon Lightweight Music Server version 3.76.0 is affected; no other products or versions were noted in the advisory.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate risk level. EPSS is not available and the issue is not listed in CISA’s KEV catalog, suggesting limited availability of public exploits. The likely attack path requires an attacker to place a crafted media file into the library—either by uploading or by otherwise adding the file—to trigger the stored XSS when users view the library in the web interface. The exploitation does not require privilege escalation or authentication bypass, but it does depend on the attacker’s ability to influence the media library contents.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Lightweight Music Server to the latest release that includes the metadata sanitization fix.
  • If an immediate update is unavailable, sanitize or delete the GENRE, ARTIST, and ALBUM tags from existing media files before scanning, or avoid using media files that contain custom metadata.
  • Restrict media file uploads or imports to trusted users and enforce validation of metadata before it is stored.
  • Monitor web interface activity for unexpected JavaScript execution or anomalous page behavior.

Generated by OpenCVE AI on June 1, 2026 at 16:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Lms
Lms lms
CPEs cpe:2.3:a:lms:lms:*:*:*:*:*:*:*:*
Vendors & Products Lms
Lms lms
Type Values Removed Values Added
First Time appeared Epoupon
Epoupon lms
Vendors & Products Epoupon
Epoupon lms
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Lightweight Music Server (LMS) though 3.76.0 contains a stored cross-site scripting vulnerability that allows attackers to execute arbitrary JavaScript by embedding malicious HTML in media file metadata tags such as GENRE, ARTIST, or ALBUM. Attackers can introduce a crafted media file into the victim's library, causing the payload to be saved during library scanning and executed automatically in the web interface due to tag content being rendered using Wt::TextFormat::UnsafeXHTML without sanitization in src/lms/ui/Utils.cpp.
Title Lightweight Music Server 3.76.0 Stored XSS via Media File Metadata Tags
Weaknesses CWE-79
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:N/VI:N/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
Jul 28, 2026, 1:49 AM
Reserved
May 21, 2026, 6:34 PM
Status
Deferred
Published
Jun 1, 2026, 3:16 PM
Modified
Jul 22, 2026, 7:10 AM