beets is Vulnerable to XSS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| beetbox | beets | before 2.10.0 | 2.10.0 | Patch available | CNA |
| — | beets (PyPI) | before 2.10.0 | 2.10.0 | Patch available | GHSA-3gxm-wfjx-m847 |
- beets Vendorbeetbox Affected before 2.10.0 Fixed in 2.10.0 Patch available CNA
- beets (PyPI) Vendor— Affected before 2.10.0 Fixed in 2.10.0 Patch available GHSA-3gxm-wfjx-m847
Remediation
- Fix · CNA beets (beetbox) Fixed in 2.10.0
- Fix · GHSA-3gxm-wfjx-m847 beets (PyPI) Fixed in 2.10.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42052
- 2026-10-03 Alias added: GHSA-3gxm-wfjx-m847
References
Sources
- CVE-2026-42052 · CVE Program
- CVE-2026-42052 · NVD
- FIRST EPSS
- GHSA-3gxm-wfjx-m847 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences