{"id":"CVE-2026-42052","published":"2026-05-04T17:06:23Z","modified":"2026-06-23T21:33:30Z","title":"beets is Vulnerable to XSS","vendor":"beetbox","product":"beets","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00529,"percentile":0.38177,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/beetbox/beets/releases/tag/v2.10.0","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/06/msg00030.html","tags":[]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":7.64},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"beetbox","affectedVersions":[{"vendor":"beetbox","product":"beets","versions":["< 2.10.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-05T13:07:05.509400Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"beets","vulnerableRanges":["<2.10.0"],"patched":["2.10.0"],"from":["GHSA-3gxm-wfjx-m847","PYSEC-2026-2397"],"provenance":"source"}],"summary":{"text":"The beets media library manager's bundled web UI contains a cross-site scripting flaw: untrusted metadata fields are rendered with Underscore's raw <%= ... %> interpolation, which does not HTML-escape them, and the output is inserted into the DOM via .html(...). An attacker who can supply crafted metadata that a user then views in the web UI can get attacker-controlled markup to execute, but this requires user interaction and the attack is limited to network-reachable access to that UI with no authentication needed, as indicated by the vector.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:45Z"},"euvd":{"id":"EUVD-2026-27055","exploited":false,"provenance":"source"}}