CVE-2026-42052

beets is Vulnerable to XSS

Published May 4, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
Description
Beets is the media library management system. Prior to version 2.10.0, the bundled web UI uses Underscore template interpolation mode <%= ... %> for untrusted metadata fields. In this runtime, <%= ... %> is raw insertion and HTML escaping is only performed by <%- ... %>. Rendered output is then inserted with .html(...), allowing attacker-controlled markup to become active DOM. This issue has been patched in version 2.10.0.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4641-1 beets security update
Github GHSA Github GHSA GHSA-3gxm-wfjx-m847 beets has a Cross-site Scripting vulnerability
Ubuntu USN Ubuntu USN USN-8747-1 Beets vulnerability
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Beetbox
Beetbox beets
Vendors & Products Beetbox
Beetbox beets
Type Values Removed Values Added
Description Beets is the media library management system. Prior to version 2.10.0, the bundled web UI uses Underscore template interpolation mode <%= ... %> for untrusted metadata fields. In this runtime, <%= ... %> is raw insertion and HTML escaping is only performed by <%- ... %>. Rendered output is then inserted with .html(...), allowing attacker-controlled markup to become active DOM. This issue has been patched in version 2.10.0.
Title beets is Vulnerable to XSS
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 23, 2026, 9:33 PM
Reserved
Apr 23, 2026, 4:05 PM
Status
Deferred
Published
May 4, 2026, 6:16 PM
Modified
Oct 26, 2026, 7:10 PM