漏洞标题
特定配置下rails-html-sanitizer 1.6.0的可能XSS漏洞
漏洞描述信息
`rails-html-sanitizer`负责在Rails应用程序中对HTML片段进行净化处理。在使用Rails 7.1.0及更高版本时,`Rails::HTML::Sanitizer` 1.6.0的某些配置中可能存在XSS漏洞。如果启用了HTML5净化,并且应用程序开发人员覆盖了净化器的允许标签,其中显式允许了"math"和"style"元素,则可能允许攻击者注入内容。此漏洞已在1.6.1版本中修复。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
漏洞标题
Possible XSS vulnerability with certain configurations of rails-html-sanitizer 1.6.0
漏洞描述信息
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags where the "math" and "style" elements are both explicitly allowed. This vulnerability is fixed in 1.6.1.
CVSS信息
N/A
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
漏洞标题
Rails HTML Sanitizers 跨站脚本漏洞
漏洞描述信息
Rails HTML Sanitizers是美国Rails团队的一个用于 Rails 应用程序中的 HTML 清理工具。 Rails HTML Sanitizers 1.6.0版本存在跨站脚本漏洞,该漏洞源于在特定配置下存在跨站脚本攻击(XSS)漏洞,从而容易导致恶意内容注入。
CVSS信息
N/A
漏洞类别
跨站脚本