CVE catalog

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, <%= ...

[CVE catalog]

Severity
Medium · CVSS 6CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianbeetssid2.14.1-1fixed
Debianbeetsforky2.14.1-1fixed
Debianbeetstrixie2.2.0-3+deb13u1fixed
Debianbeetsbookworm1.6.0-4+deb12u1fixed
Ubuntubeetsnoble1.6.0-8ubuntu0.1~esm1fixed
Ubuntubeets-docnoble1.6.0-8ubuntu0.1~esm1fixed
Ubuntubeetspro2.2.0-3vulnerable
Ubuntubeetspro2.5.1-4vulnerable
Ubuntubeetspro2.5.1-4ubuntu0.1~esm1fixed
Ubuntubeetspro2.2.0-3vulnerable
Ubuntubeetspro2.5.1-4vulnerable
Ubuntubeetspro2.5.1-4ubuntu0.1~esm1fixed
Ubuntubeets25.102.2.0-2ubuntu1vulnerable
Ubuntubeets25.102.2.0-3vulnerable
Opensusebeetsleap 16.02.2.0-bp160.2.1fixed
Opensusebeetstumbleweed2.11.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbeetssourcesid2.11.0-1not yet assignedNot reported[1135779]
Debianbeetssourceforky2.11.0-1not yet assignedNot reported[1135779]
Debianbeetssourcetrixie2.2.0-3+deb13u1not yet assignedNot reported[1135779]
Debianbeetssourcebookworm1.6.0-4+deb12u1not yet assignedNot reported[1135779]
Ubuntubeetsdebnoble1.6.0-8ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntubeets-docdebnoble1.6.0-8ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntubeetsdebpro2.5.1-4ubuntu0.1~esm1Not reportedUSN-8747-1Not reported
Ubuntubeetsdebpro2.5.1-4ubuntu0.1~esm1Not reportedUBUNTU-CVE-2026-42052Not reported
Opensusebeetsrpmleap 16.02.2.0-bp160.2.1Not reportedOPENSUSE-SU-2026:21383-1Not reported
Opensusebeetsrpmtumbleweed2.11.0-1.1Not reportedOPENSUSE-SU-2026:10865-1Not reported

[Debian bug #1135779]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [beets]Fixed
    Details (2)
    • 1.6.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.6.0-4+deb12u1

      nvd · beets · debian · bookworm; nvd · beets · debian · 12

    • 1.6.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.6.0-4+deb12u1

      nvd · beets · debian · bookworm; nvd · beets · debian · 12

  • [beets-doc]Fixed

    Source package: [beets]

    Details (2)
    • 1.6.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.6.0-4+deb12u1

      nvd · beets · debian · bookworm; nvd · beets · debian · 12

    • 1.6.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.6.0-4+deb12u1

      nvd · beets · debian · bookworm; nvd · beets · debian · 12

[Debian 13 (Trixie)]

  • [beets]Fixed
    Details (2)
    • 2.2.0-3+deb13u1 · all · trixie

      Fixed · Fixed: 2.2.0-3+deb13u1

      nvd · beets · debian · 13

    • 2.2.0-3+deb13u1 · all · trixie

      Fixed · Fixed: 2.2.0-3+deb13u1

      nvd · beets · debian · 13

  • [beets-doc]Fixed

    Source package: [beets]

    Details (2)
    • 2.2.0-3+deb13u1 · all · trixie

      Fixed · Fixed: 2.2.0-3+deb13u1

      nvd · beets · debian · 13

    • 2.2.0-3+deb13u1 · all · trixie

      Fixed · Fixed: 2.2.0-3+deb13u1

      nvd · beets · debian · 13

[openSUSE Tumbleweed]

  • [beets]Fixed

    Source package: [beets]

    Details (1)
    • 2.13.1-1.1 · noarch · tumbleweed

      Fixed · Fixed: 2.11.0-1.1

      nvd · beets · opensuse · tumbleweed

Observed:

References