Vulnerability Information
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
N/A
Vulnerability Description
`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The `sanitizeHtml()` function in `index.js` does not sanitize content when using the custom `transformTags` option, which is intended to convert attribute values into text. As a result, malicious input can be transformed into executable code.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Apostrophe sanitize-html 安全漏洞
Vulnerability Description
Apostrophe sanitize-html是美国Apostrophe公司的一个库。清理用户提交的 HTML,在每个元素的基础上保留列入白名单的元素和列入白名单的属性。 Apostrophe sanitize-html 2.0.0-beta之前版本存在安全漏洞,该漏洞源于sanitizeHtml函数在使用transformTags选项时未清理内容,可能导致跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A