Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2020-26237— Prototype Pollution in highlight.js

CVSS 5.8 · Medium EPSS 0.60% · P70
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2020-26237

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Prototype Pollution in highlight.js
Source: NVD (National Vulnerability Database)
Vulnerability Description
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
对假设不可变数据的修改(MAID)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Highlightjs 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Highlightjs是Highlightjs团队的一个由JavaScript编写的语法高亮工具。该软件在浏览器和服务器上均可使用,不依赖于任何框架,并且具有自动语言检测功能。 Highlightjs 9.18.2版本和10.1.2之前版本存在安全漏洞,该漏洞源于如果允许用户通过解析Markdown代码块(或类似代码)将自定义HTML代码块插入您的页面/应用程序,并且不过滤用户可以为您提供的语言名称,则可能会受到攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
highlightjshighlight.js < 9.18.2 -

II. Public POCs for CVE-2020-26237

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2020-26237

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2020-26237

No comments yet


Leave a comment