Ubuntu CVE Tracker
UBUNTU-CVE-2026-42052
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | beets | All versions before 1.3.8+dfsg-2ubuntu0.1~esm1 (fixed in 1.3.8+dfsg-2ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | beets | All versions before 1.4.6-2ubuntu0.1~esm1 (fixed in 1.4.6-2ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | beets | All versions before 1.4.9-4ubuntu0.1~esm1 (fixed in 1.4.9-4ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | beets | All versions before 1.6.0-1ubuntu0.1~esm1 (fixed in 1.6.0-1ubuntu0.1~esm1) |
| Ubuntu:Pro:24.04:LTS | beets | All versions before 1.6.0-8ubuntu0.1~esm1 (fixed in 1.6.0-8ubuntu0.1~esm1) |
| Ubuntu:25.10 | beets | All versions, no fix listed |
| Ubuntu:Pro:26.04:LTS | beets | All versions before 2.5.1-4ubuntu0.1~esm1 (fixed in 2.5.1-4ubuntu0.1~esm1) |