Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Prototype Pollution in highlight.js

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

cve-program · CVE-2020-26237

Published

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.

Source published
24 Nov 2020 23:00:21 UTC
Source modified
4 Aug 2024 15:56:03 UTC
Saved here
23 Oct 2026 15:48:27 UTC
Source terms
CVE Program Terms of Use

Original source record · Cite this exact observation · Complete original publisher JSON

Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 3.1 · 5.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N

euvd · EUVD-2020-1472

Published

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.

Additional publisher context

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Nov 24, 2020, 11:00:21 PM

dateUpdated: Aug 4, 2024, 3:56:03 PM

2 related source bulletins · separate from aliases

RHSA-2021:3917: Red Hat Security Advisory: Red Hat Quay v3.6.0 security, bug fix and enhancement update

CVE-2017-16137 · CVE-2017-16138 · CVE-2018-1107 · CVE-2018-1109 · CVE-2018-3721 · CVE-2018-3728 · CVE-2018-3774 · CVE-2018-16492 · CVE-2018-21270 · CVE-2019-20920 · CVE-2019-20922 · CVE-2019-1010266 · CVE-2020-7608 · CVE-2020-8203 · CVE-2020-15366 · CVE-2020-26237 · CVE-2020-26291 · CVE-2020-35653 · CVE-2020-35654 · CVE-2021-23364 · CVE-2021-23368 · CVE-2021-23382 · CVE-2021-25289 · CVE-2021-25290 · CVE-2021-25291 · CVE-2021-25292 · CVE-2021-25293 · CVE-2021-27515 · CVE-2021-27516 · CVE-2021-27921 · CVE-2021-27922 · CVE-2021-27923 · CVE-2021-34552

WID-SEC-W-2022-0735: Oracle MySQL: Mehrere Schwachstellen

CVE-2018-25032 · CVE-2020-26237 · CVE-2021-22119 · CVE-2021-31805 · CVE-2022-1292 · CVE-2022-21455 · CVE-2022-21509 · CVE-2022-21515 · CVE-2022-21517 · CVE-2022-21519 · CVE-2022-21522 · CVE-2022-21525 · CVE-2022-21526 · CVE-2022-21527 · CVE-2022-21528 · CVE-2022-21529 · CVE-2022-21530 · CVE-2022-21531 · CVE-2022-21534 · CVE-2022-21535 · CVE-2022-21537 · CVE-2022-21538 · CVE-2022-21539 · CVE-2022-21547 · CVE-2022-21550 · CVE-2022-21553 · CVE-2022-21555 · CVE-2022-21556 · CVE-2022-21569 · CVE-2022-21824 · CVE-2022-22968 · CVE-2022-23308 · CVE-2022-27778

Source published
Nov 24, 2020, 11:00:21 PM (timezone not stated)
Source modified
Aug 4, 2024, 3:56:03 PM (timezone not stated)
Saved here
24 Nov 2026 01:40:11 UTC
Source terms
ENISA EUVD · source terms and attribution apply

Original source record · Cite this exact observation · Complete original publisher JSON

Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

EUVD CVSS 3.1 · 5.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N

nvd · CVE-2020-26237

Published

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.

Additional publisher context

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-471

Original publisher date fields

published: 2020-11-24T23:15:11.223

lastModified: 2026-06-17T03:07:53.420

3 source CPE criteria · context only
  • cpe:2.3:a:highlightjs:highlight.js:*:*:*:*:*:node.js:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

Source published
24 Nov 2020 23:15:11 UTC
Source modified
17 Jun 2026 03:07:53 UTC
Saved here
24 Oct 2026 16:17:32 UTC
Source terms
NIST NVD usage terms; underlying source attribution retained

Original source record · Cite this exact observation · Complete original publisher JSON

Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 3.1 · [email protected] · Secondary · 5.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N

CVSS 3.1 · [email protected] · Primary · 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H

CVSS 2.0 · [email protected] · Primary · 4.9 AV:N/AC:M/Au:S/C:N/I:P/A:P

osv · GHSA-vfrc-7r7c-w9mx

Published

### Impact Affected versions of this package 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._ ### Patches 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. ### Workarounds #### Patch your library Manually patch your library to create null objects for both `languages` and `aliases`: ```js const HLJS = function(hljs) { // ... var languages = Object.create(null); var aliases = Object.create(null); ``` #### Filter out bad data from end users: Filter the language names that users are allowed to inject into your HTML to guarantee they are valid. ### References * [What is Prototype Pollution?](https://codeburst.io/what-is-prototype-pollution-49482fc4b638) * https://github.com/highlightjs/highlight.js/pull/2636 ### For more information If you have any questions or comments about this advisory: * Please file an issue against [highlight.js](https://github.com/highlightjs/highlight.js/issues/)

Source published
24 Nov 2020 22:58:41 UTC
Source modified
8 Jul 2026 06:00:20 UTC
Saved here
24 Oct 2026 13:17:17 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS_V3 · CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N

Publisher rating · MODERATE

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 15:36 UTC · 277 of 278 readable · 272 fully read · documentation 469/469 current