{"id":"CVE-2026-42052","aliases":["GHSA-3gxm-wfjx-m847","PYSEC-2026-2397"],"url":"https://o3.security/vulnerability/CVE-2026-42052","summary":"beets is Vulnerable to XSS","details":"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.","published":"2026-05-04T17:06:23.162Z","modified":"2026-08-07T11:51:05.889360849Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"beets","fixedVersion":"2.10.0"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/beetbox/beets/releases/tag/v2.10.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/06/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42052.json"},{"type":"ADVISORY","url":"https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42052"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:51:05.889360849Z"}}