CVE-2026-42052 Details
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.
A stored cross-site scripting vulnerability has been identified in Beets, a media library management system, in versions prior to 2.10.0. The issue arises in the bundled web UI, where untrusted metadata fields are rendered using raw template interpolation. This allows attacker-controlled HTML to be executed as active DOM. The vulnerability has been patched in version 2.10.0.
Users can upgrade to Beets version 2.10.0 or later, where this vulnerability has been fixed. For those using earlier versions, it's recommended to sanitize metadata values before rendering and to avoid using raw HTML interpolation for untrusted content.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 4, 2026CISA-ADP
Assessed May 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2026/06/msg00030.html | CVE | |
| https://github.com/beetbox/beets/releases/tag/v2.10.0 | [email protected] | Release NotesVendor |
| https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847 | [email protected] | AdvisoryTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| beets | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 23, 2026 | CVE Modified | CVE |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 4, 2026 | New CVE Received | [email protected] |
Volerion