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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-29771— HtmlSanitizer vulnerable to XSS when used with contentEditable

Quick assessment

Affected
jitbit HtmlSanitizer
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.

Mganss HtmlSanitizer是Mganss个人开发者的一个基于C#、AngleSharp用于从清楚源代码中可能导致XSS攻击的HTML代码和文档的软件。 Mganss HtmlSanitizer 2.0.3之前版本存在跨站脚本漏洞,该漏洞源于与contentEditable元素一起使用时存在跨站脚本漏洞。

AI Predicted 6.1 Difficulty: Moderate EPSS 0.39% · P32
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-29771

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
HtmlSanitizer vulnerable to XSS when used with contentEditable
Source: CVE Program / CVE List V5
Vulnerability Description
HtmlSanitizer is a client-side HTML Sanitizer. Versions prior to 2.0.3 have a cross-site scripting vulnerability when the sanitizer is used with a `contentEditable` element to set the elements `innerHTML` to a sanitized string produced by the package. If the code is particularly crafted to abuse the code beautifier, that runs AFTER sanitation. The issue is patched in version 2.0.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Mganss HtmlSanitizer 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mganss HtmlSanitizer是Mganss个人开发者的一个基于C#、AngleSharp用于从清楚源代码中可能导致XSS攻击的HTML代码和文档的软件。 Mganss HtmlSanitizer 2.0.3之前版本存在跨站脚本漏洞,该漏洞源于与contentEditable元素一起使用时存在跨站脚本漏洞。
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
jitbit HtmlSanitizer < 2.0.3 -

II. Public POCs for CVE-2025-29771

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-29771

登录查看更多情报信息。

Patches & Fixes for CVE-2025-29771 (1)

Vendor Advisories for CVE-2025-29771 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-29771

No comments yet


Leave a comment