CVE-2026-42052

NameCVE-2026-42052
DescriptionBeets 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
beets (PTS)bullseye1.4.9-7vulnerable
bookworm1.6.0-4vulnerable
trixie2.2.0-3vulnerable
forky, sid2.8.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
beetssource(unstable)(unfixed)

Notes

https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847

Search for package or bug name: Reporting problems