CVE-2026-42052 beets is Vulnerable to XSS
MediumCVSS 6.0
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/beets(Debian 12) | < 1.6.0-4+deb12u1; = 1.6.0-4 | 1.6.0-4+deb12u1 | Fixed |
| debian/beets(Debian 13) | < 2.2.0-3+deb13u1; = 2.2.0-3 | 2.2.0-3+deb13u1 | Fixed |
| debian/beets(Debian 14) | < 2.11.0-1; = 2.2.0-3; = 2.5.1-1; = 2.5.1-2 +5 more | 2.11.0-1 | Fixed |
| pypi beets(PyPI) | < 2.10.0; = 1.0.0; = 1.0b1; = 1.0b2 +67 more | 2.10.0 | Fixed |
| ubuntu/beets(Ubuntu 22.04) | < 1.6.0-1ubuntu0.1~esm1 | 1.6.0-1ubuntu0.1~esm1 | Fixed |
| ubuntu/beets(Ubuntu 24.04) | < 1.6.0-8ubuntu0.1~esm1 | 1.6.0-8ubuntu0.1~esm1 | Fixed |
| ubuntu/beets(Ubuntu 26.04) | < 2.5.1-4ubuntu0.1~esm1 | 2.5.1-4ubuntu0.1~esm1 | Fixed |
| beetbox beets | = < 2.10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi beets(PyPI) | < 2.10.0 | 2.10.0 |
| pypi beets(PyPI) | = 1.0.0 | No fix listed |
| pypi beets(PyPI) | = 1.0b1 | No fix listed |
| pypi beets(PyPI) | = 1.0b10 | No fix listed |
| pypi beets(PyPI) | = 1.0b11 | No fix listed |
| pypi beets(PyPI) | = 1.0b12 | No fix listed |
| pypi beets(PyPI) | = 1.0b13 | No fix listed |
| pypi beets(PyPI) | = 1.0b14 | No fix listed |
| pypi beets(PyPI) | = 1.0b15 | No fix listed |
| pypi beets(PyPI) | = 1.0b2 | No fix listed |
| pypi beets(PyPI) | = 1.0b3 | No fix listed |
| pypi beets(PyPI) | = 1.0b4 | No fix listed |
| pypi beets(PyPI) | = 1.0b5 | No fix listed |
| pypi beets(PyPI) | = 1.0b6 | No fix listed |
| pypi beets(PyPI) | = 1.0b7 | No fix listed |
| pypi beets(PyPI) | = 1.0b8 | No fix listed |
| pypi beets(PyPI) | = 1.0b9 | No fix listed |
| pypi beets(PyPI) | = 1.0rc1 | No fix listed |
| pypi beets(PyPI) | = 1.0rc2 | No fix listed |
| pypi beets(PyPI) | = 1.1.0 | No fix listed |
| pypi beets(PyPI) | = 1.2.0 | No fix listed |
| pypi beets(PyPI) | = 1.2.1 | No fix listed |
| pypi beets(PyPI) | = 1.2.2 | No fix listed |
| pypi beets(PyPI) | = 1.3.0 | No fix listed |
| pypi beets(PyPI) | = 1.3.1 | No fix listed |
Show 63 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi beets(PyPI) | = 1.3.10 | No fix listed |
| pypi beets(PyPI) | = 1.3.11 | No fix listed |
| pypi beets(PyPI) | = 1.3.12 | No fix listed |
| pypi beets(PyPI) | = 1.3.13 | No fix listed |
| pypi beets(PyPI) | = 1.3.14 | No fix listed |
| pypi beets(PyPI) | = 1.3.15 | No fix listed |
| pypi beets(PyPI) | = 1.3.16 | No fix listed |
| pypi beets(PyPI) | = 1.3.17 | No fix listed |
| pypi beets(PyPI) | = 1.3.18 | No fix listed |
| pypi beets(PyPI) | = 1.3.19 | No fix listed |
| pypi beets(PyPI) | = 1.3.2 | No fix listed |
| pypi beets(PyPI) | = 1.3.3 | No fix listed |
| pypi beets(PyPI) | = 1.3.4 | No fix listed |
| pypi beets(PyPI) | = 1.3.5 | No fix listed |
| pypi beets(PyPI) | = 1.3.6 | No fix listed |
| pypi beets(PyPI) | = 1.3.7 | No fix listed |
| pypi beets(PyPI) | = 1.3.8 | No fix listed |
| pypi beets(PyPI) | = 1.3.9 | No fix listed |
| pypi beets(PyPI) | = 1.4.0 | No fix listed |
| pypi beets(PyPI) | = 1.4.1 | No fix listed |
| pypi beets(PyPI) | = 1.4.2 | No fix listed |
| pypi beets(PyPI) | = 1.4.3 | No fix listed |
| pypi beets(PyPI) | = 1.4.4 | No fix listed |
| pypi beets(PyPI) | = 1.4.5 | No fix listed |
| pypi beets(PyPI) | = 1.4.6 | No fix listed |
| pypi beets(PyPI) | = 1.4.7 | No fix listed |
| pypi beets(PyPI) | = 1.4.8 | No fix listed |
| pypi beets(PyPI) | = 1.4.9 | No fix listed |
| pypi beets(PyPI) | = 1.5.0 | No fix listed |
| pypi beets(PyPI) | = 1.6.0 | No fix listed |
| pypi beets(PyPI) | = 1.6.1 | No fix listed |
| pypi beets(PyPI) | = 2.0.0 | No fix listed |
| pypi beets(PyPI) | = 2.1.0 | No fix listed |
| pypi beets(PyPI) | = 2.2.0 | No fix listed |
| pypi beets(PyPI) | = 2.3.0 | No fix listed |
| pypi beets(PyPI) | = 2.3.1 | No fix listed |
| pypi beets(PyPI) | = 2.4.0 | No fix listed |
| pypi beets(PyPI) | = 2.5.0 | No fix listed |
| pypi beets(PyPI) | = 2.5.1 | No fix listed |
| pypi beets(PyPI) | = 2.6.0 | No fix listed |
| pypi beets(PyPI) | = 2.6.1 | No fix listed |
| pypi beets(PyPI) | = 2.6.2 | No fix listed |
| pypi beets(PyPI) | = 2.7.0 | No fix listed |
| pypi beets(PyPI) | = 2.7.1 | No fix listed |
| pypi beets(PyPI) | = 2.8.0 | No fix listed |
| pypi beets(PyPI) | = 2.9.0 | No fix listed |
| beetbox beets | = < 2.10.0 | No fix listed |
| debian/beets(Debian:12) | < 1.6.0-4+deb12u1 | 1.6.0-4+deb12u1 |
| debian/beets(Debian:12) | = 1.6.0-4 | No fix listed |
| debian/beets(Debian:13) | < 2.2.0-3+deb13u1 | 2.2.0-3+deb13u1 |
| debian/beets(Debian:13) | = 2.2.0-3 | No fix listed |
| debian/beets(Debian:14) | < 2.11.0-1 | 2.11.0-1 |
| debian/beets(Debian:14) | = 2.2.0-3 | No fix listed |
| debian/beets(Debian:14) | = 2.5.1-1 | No fix listed |
| debian/beets(Debian:14) | = 2.5.1-2 | No fix listed |
| debian/beets(Debian:14) | = 2.5.1-3 | No fix listed |
| debian/beets(Debian:14) | = 2.5.1-4 | No fix listed |
| debian/beets(Debian:14) | = 2.6.2-1 | No fix listed |
| debian/beets(Debian:14) | = 2.7.1-1 | No fix listed |
| debian/beets(Debian:14) | = 2.8.0-1 | No fix listed |
| ubuntu/beets(Ubuntu:22.04) | < 1.6.0-1ubuntu0.1~esm1 | 1.6.0-1ubuntu0.1~esm1 |
| ubuntu/beets(Ubuntu:24.04) | < 1.6.0-8ubuntu0.1~esm1 | 1.6.0-8ubuntu0.1~esm1 |
| ubuntu/beets(Ubuntu:26.04) | < 2.5.1-4ubuntu0.1~esm1 | 2.5.1-4ubuntu0.1~esm1 |
References
- https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/beetbox/beets/releases/tag/v2.10.0
- lists.debian.org
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2026-42052 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8747-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking