USN-8276-1

Source
https://ubuntu.com/security/notices/USN-8276-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-8276-1
Upstream
Published
2026-05-19T18:38:57Z
Modified
2026-05-20T16:17:52.419457293Z
Summary
Highlight.js vulnerability
Details

It was discovered that Highlight.js used plain JavaScript objects for internal language name lookups, making them susceptible to prototype pollution attacks. An attacker could use this to cause a denial of service or unexpected application behaviour.

References

Affected packages

Ubuntu:Pro:16.04:LTS / highlight.js

Package

Name
highlight.js
Purl
pkg:deb/ubuntu/highlight.js?arch=source&distro=esm-infra-legacy%2Fxenial

Affected ranges

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

Affected versions

8.*
8.2+ds-4build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.2+ds-4ubuntu0.1~esm1",
            "binary_name": "libjs-highlight"
        },
        {
            "binary_version": "8.2+ds-4ubuntu0.1~esm1",
            "binary_name": "libjs-highlight.js"
        },
        {
            "binary_version": "8.2+ds-4ubuntu0.1~esm1",
            "binary_name": "node-highlight"
        },
        {
            "binary_version": "8.2+ds-4ubuntu0.1~esm1",
            "binary_name": "node-highlight.js"
        }
    ],
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:16.04:LTS",
    "cves": []
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json"

Ubuntu:Pro:18.04:LTS / highlight.js

Package

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

Affected ranges

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

Affected versions

9.*
9.12.0+dfsg1-3
9.12.0+dfsg1-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "9.12.0+dfsg1-4ubuntu0.1~esm1",
            "binary_name": "libjs-highlight"
        },
        {
            "binary_version": "9.12.0+dfsg1-4ubuntu0.1~esm1",
            "binary_name": "libjs-highlight.js"
        },
        {
            "binary_version": "9.12.0+dfsg1-4ubuntu0.1~esm1",
            "binary_name": "node-highlight"
        },
        {
            "binary_version": "9.12.0+dfsg1-4ubuntu0.1~esm1",
            "binary_name": "node-highlight.js"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:18.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2020-26237"
        }
    ]
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json"

Ubuntu:Pro:20.04:LTS / highlight.js

Package

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

Affected ranges

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

Affected versions

9.*
9.12.0+dfsg1-4ubuntu1
9.12.0+dfsg1-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "9.12.0+dfsg1-5ubuntu0.1~esm1",
            "binary_name": "libjs-highlight"
        },
        {
            "binary_version": "9.12.0+dfsg1-5ubuntu0.1~esm1",
            "binary_name": "libjs-highlight.js"
        },
        {
            "binary_version": "9.12.0+dfsg1-5ubuntu0.1~esm1",
            "binary_name": "node-highlight"
        },
        {
            "binary_version": "9.12.0+dfsg1-5ubuntu0.1~esm1",
            "binary_name": "node-highlight.js"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:20.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2020-26237"
        }
    ]
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json"