Cross-site Scripting (XSS) Affecting beets package, versions <2.2.0-3+deb13u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.31% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-BEETS-22586411
  • published18 Nov 2026
  • disclosed4 May 2026

Introduced: 4 May 2026

CVE-2026-42052  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Echo:latest beets to version 2.2.0-3+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream beets package and not the beets package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.