---
id: CVE-2026-42052
title: Beets is the media library management system
summary: >-
  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 escapin…
severity: none
cwe:
  - CWE-79
published: '2026-05-04'
updated: '2026-06-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42052'
references:
  - url: 'https://github.com/beetbox/beets/releases/tag/v2.10.0'
    label: security-advisories@github.com
  - url: 'https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847'
    label: security-advisories@github.com
  - url: 'https://lists.debian.org/debian-lts-announce/2026/06/msg00030.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00529
epssPercentile: 0.42354
ingestedAt: '2026-06-29T13:24:34.835Z'
---

## Overview

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

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
