CVE-2026-42052

Publication date 4 May 2026

Last updated 10 September 2026


Ubuntu priority

Description

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.

Status

Package Ubuntu Release Status
beets 26.04 LTS resolute
Fixed 2.5.1-4ubuntu0.1~esm1
25.10 questing Ignored end of life, was needs-triage
24.04 LTS noble
Fixed 1.6.0-8ubuntu0.1~esm1
22.04 LTS jammy
Fixed 1.6.0-1ubuntu0.1~esm1
20.04 LTS focal
Fixed 1.4.9-4ubuntu0.1~esm1
18.04 LTS bionic
Fixed 1.4.6-2ubuntu0.1~esm1
16.04 LTS xenial
Fixed 1.3.8+dfsg-2ubuntu0.1~esm1

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v4.0

Base score 6.0 · Medium

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

References

Related Ubuntu Security Notices (USN)

    • USN-8747-1
    • Beets vulnerability
    • 10 September 2026

Other references


Access our resources on patching vulnerabilities