Home / mailingsPDF  

[USN-8276-1] Highlight.js vulnerability

Posted on 19 May 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-8276-1
May 19, 2026

Highlight.js vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

Highlight.js could be made to crash if it received specially crafted
input.

Software Description:
- highlight.js: JavaScript syntax highlighter

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.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 20.04 LTS
libjs-highlight.js 9.12.0+dfsg1-5ubuntu0.1~esm1
Available with Ubuntu Pro
node-highlight.js 9.12.0+dfsg1-5ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 18.04 LTS
libjs-highlight.js 9.12.0+dfsg1-4ubuntu0.1~esm1
Available with Ubuntu Pro
node-highlight.js 9.12.0+dfsg1-4ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 16.04 LTS
libjs-highlight.js 8.2+ds-4ubuntu0.1~esm1
Available with Ubuntu Pro
node-highlight.js 8.2+ds-4ubuntu0.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-8276-1
CVE-2020-26237

--===============2511532164882857878==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP