UBUNTU-CVE-2026-42052

Source
https://ubuntu.com/security/CVE-2026-42052
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-42052
Upstream
  • CVE-2026-42052
Published
2026-05-04T18:16:00Z
Modified
2026-05-20T16:25:43.258969043Z
Severity
  • 6.0 (Medium) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:16.04:LTS
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.3.8+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.3.8+dfsg-2",
            "binary_name": "beets"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"
Ubuntu:18.04:LTS
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.3.19-2.1
1.4.6-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.4.6-2",
            "binary_name": "beets"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"
Ubuntu:20.04:LTS
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.7-2
1.4.7-2ubuntu1
1.4.9-2
1.4.9-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.4.9-4",
            "binary_name": "beets"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"
Ubuntu:22.04:LTS
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.9-7
1.5.0-1
1.6.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.0-1",
            "binary_name": "beets"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"
Ubuntu:24.04:LTS
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.6.0-4
1.6.0-7
1.6.0-8

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.0-8",
            "binary_name": "beets"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"
Ubuntu:25.10
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.0-2ubuntu1
2.2.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.2.0-3",
            "binary_name": "beets"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"
Ubuntu:26.04:LTS
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.0-3
2.5.1-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.5.1-4",
            "binary_name": "beets"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42052.json"