{"id":"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 \u003c%= ... %\u003e for untrusted metadata fields. In this runtime, \u003c%= ... %\u003e is raw insertion and HTML escaping is only performed by \u003c%- ... %\u003e. 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.","aliases":["GHSA-3gxm-wfjx-m847","PYSEC-2026-2397"],"modified":"2026-08-12T03:51:29.522107052Z","published":"2026-05-04T17:06:23.162Z","related":["openSUSE-SU-2026:10865-1","openSUSE-SU-2026:21383-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42052.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/beetbox/beets","events":[{"introduced":"0"},{"fixed":"5f6b2d35d186fb9f6402dfb7ec904b6c8383a6cd"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.10.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.9.0","v2.8.0","v2.7.1","v2.7.0","v2.6.2","v2.6.1","v2.6.0","v2.5.1","v2.5.0","v2.4.0","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.6.0","v1.5.0","v1.4.9","v1.4.8","v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.3.19","v1.3.18","v1.3.17","v1.3.16","v1.3.15","v1.3.14","v1.3.13","v1.3.12","v1.3.11","v1.3.10","v1.3.9","v1.3.8","v1.3.7","v1.3.6","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.1.0-beta.1","1.0b15","1.0b14","1.0b13","1.0b12","1.0b11","1.0b10","1.0b9","1.0b8","1.0b7","1.0b6","1.0b5","1.0b4","1.0b3","1.0b2","1.0b1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42052.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}