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…
Historical advisory saved 3 Nov 2026 18:05:14 UTC. The publisher may have updated it since then. Latest advisory.
euvd · EUVD-2020-1472
PublishedHighlight.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
- 3 Nov 2026 18:05:14 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