CVE-2026-42052
beets is Vulnerable to XSS
Reported by github_m · Published May 4, 2026
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.
EPSS 0.30% · 23.1th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| beetbox | beets | < 2.10.0 |
| beetbox | beets | < 2.10.0 |
Timeline
- Apr 29, 2026 CVE Published
- May 4, 2026 Security Advisory
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 23, 2026 CVE Updated
- Aug 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-42052
vulnetix vdb fixes CVE-2026-42052
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42052/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847 x_refsource_CONFIRM
- https://github.com/beetbox/beets/releases/tag/v2.10.0 x_refsource_MISC