Approved changes feed: RSS · Atom

cpe:2.3:a:highlightjs:highlight.js:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorHighlightjs (9eeb66f5-9b77-56e7-add2-e4881e629d01)
ProductHighlight.Js (211899ae-5b35-5e4d-991b-985b55a38fa8)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/highlight.js purl2cpe 2026-06-01 10:12:40.822872
pkg:deb/ubuntu/highlight.js purl2cpe 2026-06-01 10:12:40.822875
pkg:github/highlightjs/highlight.js purl2cpe 2026-06-01 10:12:40.822879
pkg:maven/org.webjars.npm/highlight.js purl2cpe 2026-06-01 10:12:40.822882
pkg:npm/highlight.js purl2cpe 2026-06-01 10:12:40.822886

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2020-26237 vulnerable 2026-06-08 05:23:50.936945 Prototype Pollution in highlight.js
MEDIUM (5.8)
Highlight.js is a syntax highlighter written in JavaScript. Highlight.js versions before 9.18.2 and 10.1.2 are vulnerable to Prototype Pollution. A malicious HTML code block can be crafted that will result in prototype pollution of the base object's prototype during highlighting. If you allow users to insert custom HTML code blocks into your page/app via parsing Markdown code blocks (or similar) and do not filter the language names the user can provide you may be vulnerable. The pollution should just be harmless data but this can cause problems for applications not expecting these properties to exist and can result in strange behavior or application crashes, i.e. a potential DOS vector. If your website or application does not render user provided data it should be unaffected. Versions 9.18.2 and 10.1.2 and newer include fixes for this vulnerability. If you are using version 7 or 8 you are encouraged to upgrade to a newer release.
Published: 2020-11-24T23:00:21.000Z
Updated: 2024-08-04T15:56:03.046Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.