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
Downstream
Related
Published
2026-05-04T18:16:00Z
Modified
2026-09-10T21:30:17Z
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:25.10
beets

Package

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

Affected ranges

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

Affected versions

2.*
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"
Ubuntu:Pro:16.04:LTS
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.3.8+dfsg-2ubuntu0.1~esm1

Affected versions

1.*
1.3.8+dfsg-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "beets",
            "binary_version": "1.3.8+dfsg-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

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

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.6-2ubuntu0.1~esm1

Affected versions

1.*
1.3.19-2.1
1.4.6-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "beets",
            "binary_version": "1.4.6-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

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

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.9-4ubuntu0.1~esm1

Affected versions

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "beets",
            "binary_version": "1.4.9-4ubuntu0.1~esm1"
        }
    ]
}

Database specific

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

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.6.0-1ubuntu0.1~esm1

Affected versions

1.*
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"
Ubuntu:Pro:24.04:LTS
beets

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.6.0-8ubuntu0.1~esm1

Affected versions

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "beets",
            "binary_version": "1.6.0-8ubuntu0.1~esm1"
        }
    ]
}

Database specific

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

Package

Name
beets
Purl
pkg:deb/ubuntu/beets?arch=source&distro=esm-apps%2Fresolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.5.1-4ubuntu0.1~esm1

Affected versions

2.*
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"