Skip to content
Fencer Vulns
medium 6.0

CVE-2026-42052 json

beets is Vulnerable to XSS

published 2026-04-29 6 mo ago modified 2026-10-26 13 d ago also GHSA-3gxm-wfjx-m847 , PYSEC-2026-2397 , EUVD-2026-27055

cvss
6.0
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 22%
public exploits
0
none known

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 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.

Patch / fix

  • pypi beets 2.10.0
  • beets Debian 12 1.6.0-4+deb12u1
  • beets Debian 13 2.2.0-3+deb13u1
  • beets Debian 14 2.11.0-1

debian advisories DEBIAN-CVE-2026-42052

  • beets Ubuntu Pro 16.04 LTS 1.3.8+dfsg-2ubuntu0.1~esm1
  • beets Ubuntu Pro 18.04 LTS 1.4.6-2ubuntu0.1~esm1
  • beets Ubuntu Pro 20.04 LTS 1.4.9-4ubuntu0.1~esm1
  • beets Ubuntu Pro 22.04 LTS 1.6.0-1ubuntu0.1~esm1
  • beets Ubuntu Pro 24.04 LTS 1.6.0-8ubuntu0.1~esm1
  • beets Ubuntu Pro 26.04 LTS 2.5.1-4ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2026-42052

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • beets openSUSE Leap 16.0 2.2.0-bp160.2.1
  • beets openSUSE Tumbleweed 2.11.0-1.1

opensuse advisories openSUSE-SU-2026:21383-1openSUSE-SU-2026:10865-1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 6.0 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
CNA 4.0 6.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
pypi beets
<2.10.0
2.10.0

Affected products

  • beetbox beets

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.