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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-29503— Improper Neutralization of Script-Related HTML Tags in Notes

Quick assessment

Affected
hedgedoc hedgedoc
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.

Hedgedoc是Hedgedoc团队的一个基于Javascript的Markdown文档实时编辑分享平台。 HedgeDoc 存在跨站脚本漏洞。远程攻击者可以诱骗受害者遵循特制的链接,并在易受攻击的网站的上下文中在用户浏览器中执行任意HTML和脚本代码。以下产品及版本受到影响:HedgeDoc: 0.3.3, 0.3.4, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.5.0, 0.5.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1,

CVSS 8.1 · High EPSS 1.04% · P61
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-29503

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
Improper Neutralization of Script-Related HTML Tags in Notes
Source: CVE Program / CVE List V5
Vulnerability Description
HedgeDoc is a platform to write and share markdown. HedgeDoc before version 1.8.2 is vulnerable to a cross-site scripting attack using the YAML-metadata of a note. An attacker with write access to a note can embed HTML tags in the Open Graph metadata section of the note, resulting in the frontend rendering the script tag as part of the `<head>` section. Unless your instance prevents guests from editing notes, this vulnerability allows unauthenticated attackers to inject JavaScript into notes that allow guest edits. If your instance prevents guests from editing notes, this vulnerability allows authenticated attackers to inject JavaScript into any note pages they have write-access to. This vulnerability is patched in version 1.8.2. As a workaround, one can disable guest edits until the next update.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Hedgedoc 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Hedgedoc是Hedgedoc团队的一个基于Javascript的Markdown文档实时编辑分享平台。 HedgeDoc 存在跨站脚本漏洞。远程攻击者可以诱骗受害者遵循特制的链接,并在易受攻击的网站的上下文中在用户浏览器中执行任意HTML和脚本代码。以下产品及版本受到影响:HedgeDoc: 0.3.3, 0.3.4, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.5.0, 0.5.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1,
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
hedgedoc hedgedoc < 1.8.2 -

II. Public POCs for CVE-2021-29503

# 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-29503

登录查看更多情报信息。

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

Vendor Advisories for CVE-2021-29503 (1)

Other References for CVE-2021-29503 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-29503

No comments yet


Leave a comment