Skip to main content

Lightweight Music Server EUVDEUVD-2026-33640

| CVE-2026-48559 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-01 disclosure@vulncheck.com GHSA-m7jj-hw4m-mc77
5.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Recon
    Obtain low-privilege access or filesystem write to LMS library
  2. Delivery
    Embed JavaScript payload in media file metadata tag (GENRE/ARTIST/ALBUM)
  3. Exploit
    LMS library scanner ingests crafted file
  4. Install
    Unsanitized payload stored in LMS database
  5. C2
    Victim user browses web UI page rendering infected metadata
  6. Execute
    Stored XSS executes in victim browser session
  7. Impact
    Session token or credentials exfiltrated to attacker

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

The attacker must be able to introduce a crafted media file into the LMS library - achievable via direct filesystem write access to the library directory, any LMS feature permitting file upload by authenticated users, or social engineering an administrator into adding an attacker-supplied file. The CVSS vector PR:L confirms low-privilege authenticated access is required at minimum; unauthenticated exploitation is not supported by available data. UI:P (passive interaction) means a victim user must only browse normally to a web UI page rendering the infected metadata field - no explicit click on a malicious link is required, only ordinary navigation. Exploitation is limited to the Wt-based web interface rendering path; headless, API-only, or non-web LMS usage modes are not affected. Single-user self-hosted deployments where the administrator is the sole user face minimal practical risk, as the attacker would need to be an external party with filesystem or upload access. Multi-user or publicly accessible LMS instances where untrusted users can contribute to the library are at the highest realistic risk. The payload persists until the media file is removed from the library or the database entry is manually cleared.

Impact

The CVSS 4.0 score of 5.1 with vector AV:N/AC:L/AT:N/PR:L/UI:P accurately reflects a moderate, constrained risk profile. Network reachability and low complexity favor exploitation, but the PR:L requirement (low-privilege authenticated access) and UI:P (passive victim interaction required) meaningfully limit the attack surface. The subsequent component impact is SC:L/SI:L with no availability impact - consistent with stored XSS enabling session hijacking, credential theft, or UI redress attacks rather than direct system compromise. EPSS data was not included in the provided intelligence, so statistical exploitation probability cannot be assessed. The absence of a CISA KEV listing and absence of confirmed public exploit code suggest exploitation is not yet widespread or automated. Real-world risk is highest in multi-user or shared LMS deployments where untrusted users can introduce media files into the library; single-user self-hosted instances face materially lower risk because the attacker and victim would need to be different parties. The two-step prerequisite - file introduction followed by victim browsing - constrains opportunistic exploitation compared to a direct network injection vulnerability. The advisory publications by VulnCheck and ZeroScience increase the likelihood of future weaponization.

Exploit ScenarioDerived

An attacker with low-privilege access to a shared LMS instance, or the ability to write files to the library directory, embeds a JavaScript payload such as a cookie-stealing script into the ARTIST or GENRE metadata field of a music file using a standard tag editor, then places the file where the LMS library scanner will ingest it. During the next scheduled or triggered library scan, LMS parses the metadata and stores the raw unsanitized payload to its database. When any authenticated user subsequently browses the web interface to a page rendering the infected metadata - such as an artist or genre listing - the script executes silently in their browser, potentially exfiltrating session tokens or performing actions on behalf of the victim. No public exploit code has been confirmed in the provided intelligence, but the attack requires only widely available tag-editing tools and knowledge of the disclosed code path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 01, 2026

Stored cross-site scripting in Lightweight Music Server (LMS) through version 3.76.0 allows low-privileged authenticated attackers to plant persistent JavaScript payloads via crafted media file metadata fields (GENRE, ARTIST, ALBUM) that execute automatically in any victim's browser upon browsing the web interface. The root cause is unsanitized rendering of library metadata using Wt::TextFormat::UnsafeXHTML in src/lms/ui/Utils.cpp, meaning payloads survive library scanning and are stored permanently. No public exploit code or CISA KEV listing has been identified at time of analysis; VulnCheck and ZeroScience (ZSL-2026-5987) have published coordinated advisories disclosing the vulnerability.

RemediationAI

No vendor-released patched version has been independently confirmed in the available intelligence - the GitHub milestone 94 (https://github.com/epoupon/lms/milestone/94) appears to track the upstream fix but a tagged release beyond 3.76.0 has not been confirmed at time of analysis. Administrators should monitor the LMS GitHub repository (https://github.com/epoupon/lms) for a release that closes issue #844 and upgrade immediately upon availability. Until a patch is released, the most effective compensating control is restricting write access to the media library directory so only trusted administrators can introduce new files, thereby preventing untrusted parties from planting crafted metadata; the trade-off is loss of collaborative or user-contributed library functionality. Administrators of multi-user deployments should also audit recently-added media files for suspicious content in GENRE, ARTIST, and ALBUM fields. As an additional measure, restricting web UI access to trusted users or isolating the LMS instance to a private network reduces the exposed victim population. Content Security Policy (CSP) headers, if configurable in the Wt framework or reverse proxy layer, could mitigate the impact of XSS execution even if the payload fires. Consult the VulnCheck advisory at https://www.vulncheck.com/advisories/lightweight-music-server-stored-xss-via-media-file-metadata-tags and ZeroScience ZSL-2026-5987 at https://www.zeroscience.mk/#/advisories/ZSL-2026-5987 for additional remediation context.

Affected VersionsENISA

LMS 0 ≤3.76.0

Affected Packages

euvd lms no fix

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

LMS is a self-hosted music streaming server built on the Wt (Web Toolkit) C++ web framework, which handles server-side rendering of the web UI. During library scanning, LMS parses media file metadata tags - such as ID3 tags in MP3 files, Vorbis comment fields in FLAC/OGG, or equivalent formats - and persists the raw tag values (GENRE, ARTIST, ALBUM) into its database. The vulnerable rendering path in src/lms/ui/Utils.cpp uses Wt::TextFormat::UnsafeXHTML to display this stored content, a Wt rendering mode that explicitly bypasses HTML sanitization and passes tag content directly to the browser as raw markup. CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS) is the applicable root cause class: untrusted external input (media file metadata) is stored without sanitization and later injected into HTML output without escaping, enabling arbitrary script execution in the victim's browser origin context. No CPE strings were provided in the source intelligence; affected scope is derived from the CVE description and advisory references.

Know when the next one hits your stack

  • 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:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

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

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High

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.0%
Patch available No
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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.

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