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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| beetbox | beets | < 2.10.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | beets | 2.11.0-1 | — |
| Debian 13 | beets | 2.2.0-3+deb13u1 | — |
| Debian 12 | beets | 1.6.0-4+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | beets | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | beets | 2.5.1-4ubuntu0.1~esm1 | USN-8747-1 |
| Ubuntu Pro 24.04 LTS | beets | 1.6.0-8ubuntu0.1~esm1 | USN-8747-1 |
| Ubuntu Pro 22.04 LTS | beets | 1.6.0-1ubuntu0.1~esm1 | USN-8747-1 |
| Ubuntu Pro 20.04 LTS | beets | 1.4.9-4ubuntu0.1~esm1 | USN-8747-1 |
| Ubuntu Pro 18.04 LTS | beets | 1.4.6-2ubuntu0.1~esm1 | USN-8747-1 |
| Ubuntu Pro 16.04 LTS | beets | 1.3.8+dfsg-2ubuntu0.1~esm1 | USN-8747-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | beets | 2.11.0-1.1 | openSUSE-SU-2026:10865-1 |
| openSUSE Leap 16.0 | beets | 2.2.0-bp160.2.1 | openSUSE-SU-2026:21383-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | beets | < 2.10.0 | 2.10.0 | GHSA-3gxm-wfjx-m847 |
Advisories 3
- USN-8747-1 beets vulnerability Ubuntu Security Notices (USN) · Sep 10, 2026
- openSUSE-SU-2026:21383-1 Security update for beets SUSE / openSUSE Security Updates · Jul 22, 2026
- openSUSE-SU-2026:10865-1 beets-2.11.0-1.1 on GA media SUSE / openSUSE Security Updates · May 28, 2026