ADVISORIES

Vulnerability

CVE-2026-42052

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.

8 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-3gxm-wfjx-m847

    beets has a Cross-site Scripting vulnerability

    Moderate CVE-2026-42052 PyPI Updated 13 July 2026
  • PYSEC-2026-2397

    beets has a Cross-site Scripting vulnerability

    CVE-2026-42052 PyPI Updated 13 July 2026

References