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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-39199— Cross site scripting via unsafe defaults in remark-html

Quick assessment

Affected
remarkjs remark-html
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Github remark-html是将 Markdown 序列化为 HTML 的remark插件。 remark-html 存在跨站脚本漏洞,该漏洞源于软件对于用户输入没有经过有效的验证与转义。这意味着传递任意的HTML可能会导致潜在的XSS攻击。

CVSS 10.0 · Critical EPSS 1.07% · P62

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-39199

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
Cross site scripting via unsafe defaults in remark-html
Source: CVE Program / CVE List V5
Vulnerability Description
remark-html is an open source nodejs library which compiles Markdown to HTML. In affected versions the documentation of remark-html has mentioned that it was safe by default. In practice the default was never safe and had to be opted into. That is, user input was not sanitized. This means arbitrary HTML can be passed through leading to potential XSS attacks. The problem has been patched in 13.0.2 and 14.0.1: `remark-html` is now safe by default, and the implementation matches the documentation. On older affected versions, pass `sanitize: true` if you cannot update.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Github remark-html 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Github remark-html是将 Markdown 序列化为 HTML 的remark插件。 remark-html 存在跨站脚本漏洞,该漏洞源于软件对于用户输入没有经过有效的验证与转义。这意味着传递任意的HTML可能会导致潜在的XSS攻击。
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

Vendor Product Affected Versions CPE Subscribe
remarkjs remark-html >= 14.0.0, < 14.0.1 -

II. Public POCs for CVE-2021-39199

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-39199

登录查看更多情报信息。

Patches & Fixes for CVE-2021-39199 (1)

Vendor Advisories for CVE-2021-39199 (1)

Other References for CVE-2021-39199 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2021-39199

No comments yet


Leave a comment