{"id":"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 \u003c%= ... %\u003e for untrusted metadata fields. In this runtime, \u003c%= ... %\u003e is raw insertion and HTML escaping is only performed by \u003c%- ... %\u003e. 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.","modified":"2026-09-10T21:30:17.138152777Z","published":"2026-05-04T18:16:00Z","related":["USN-8747-1"],"upstream":["CVE-2026-42052"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-42052"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-42052"},{"type":"REPORT","url":"https://github.com/beetbox/beets/security/advisories/GHSA-3gxm-wfjx-m847"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8747-1"}],"affected":[{"package":{"name":"beets","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/beets?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.8+dfsg-2ubuntu0.1~esm1"}]}],"versions":["1.3.8+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"beets","binary_version":"1.3.8+dfsg-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"}},{"package":{"name":"beets","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-2ubuntu0.1~esm1"}]}],"versions":["1.3.19-2.1","1.4.6-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.4.6-2ubuntu0.1~esm1","binary_name":"beets"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"}},{"package":{"name":"beets","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.9-4ubuntu0.1~esm1"}]}],"versions":["1.4.7-2","1.4.7-2ubuntu1","1.4.9-2","1.4.9-4"],"ecosystem_specific":{"binaries":[{"binary_name":"beets","binary_version":"1.4.9-4ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"}},{"package":{"name":"beets","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0-1ubuntu0.1~esm1"}]}],"versions":["1.4.9-7","1.5.0-1","1.6.0-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"beets","binary_version":"1.6.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"}},{"package":{"name":"beets","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0-8ubuntu0.1~esm1"}]}],"versions":["1.6.0-4","1.6.0-7","1.6.0-8"],"ecosystem_specific":{"binaries":[{"binary_name":"beets","binary_version":"1.6.0-8ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"}},{"package":{"name":"beets","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/beets?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-2ubuntu1","2.2.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"beets","binary_version":"2.2.0-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"}},{"package":{"name":"beets","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1-4ubuntu0.1~esm1"}]}],"versions":["2.2.0-3","2.5.1-4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"beets","binary_version":"2.5.1-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}