You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
OR
*cpe:2.3:a:highlightjs:highlight.js:*:*:*:*:*:node.js:*:* versions up to (excluding) 9.18.2
*cpe:2.3:a:highlightjs:highlight.js:*:*:*:*:*:node.js:*:* versions from (including) 10.1.0 up to (excluding) 10.1.2
Added
CVSS V2
NIST (AV:N/AC:M/Au:S/C:N/I:P/A:P)
Added
CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
Added
CVSS V3.1
NIST AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Changed
Reference Type
https://github.com/highlightjs/highlight.js/commit/7241013ae011a585983e176ddc0489a7a52f6bb0 No Types Assigned
https://github.com/highlightjs/highlight.js/commit/7241013ae011a585983e176ddc0489a7a52f6bb0 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/highlightjs/highlight.js/pull/2636 No Types Assigned
https://github.com/highlightjs/highlight.js/pull/2636 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/highlightjs/highlight.js/security/advisories/GHSA-vfrc-7r7c-w9mx No Types Assigned
https://github.com/highlightjs/highlight.js/security/advisories/GHSA-vfrc-7r7c-w9mx Mitigation, Third Party Advisory
Changed
Reference Type
https://www.npmjs.com/package/highlight.js No Types Assigned
https://www.npmjs.com/package/highlight.js Third Party Advisory
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 s
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
Quick Info
CVE Dictionary Entry: CVE-2020-26237 NVD
Published Date: 11/24/2020 NVD
Last Modified: 10/19/2022
Source: GitHub, Inc.