目標達成 すべての支援者に感謝 — 100%達成しました!

目標: 1000 CNY · 調達済み: 1000 CNY

100.0%

CVE-2022-23520— Rails 跨站脚本漏洞

CVSS 6.1 · Medium EPSS 0.34% · P56
新しい脆弱性情報の通知を購読するログインして購読

I. CVE-2022-23520の基本情報

脆弱性情報

脆弱性についてご質問がありますか?Shenlongの分析が参考になるかご確認ください!
Shenlongの10の質問を表示 ↗

高度な大規模言語モデル技術を使用していますが、出力には不正確または古い情報が含まれる可能性があります。Shenlongはデータの正確性を確保するよう努めていますが、実際の状況に基づいて検証・判断してください。

脆弱性タイトル
rails-html-sanitizer contains an incomplete fix for an XSS vulnerability
ソース: NVD (National Vulnerability Database)
脆弱性説明
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, there is a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer due to an incomplete fix of CVE-2022-32209. Rails::Html::Sanitizer may allow an attacker to inject content if the application developer has overridden the sanitizer's allowed tags to allow both "select" and "style" elements. Code is only impacted if allowed tags are being overridden. This issue is patched in version 1.4.4. All users overriding the allowed tags to include both "select" and "style" should either upgrade or use this workaround: Remove either "select" or "style" from the overridden allowed tags. NOTE: Code is _not_ impacted if allowed tags are overridden using either the :tags option to the Action View helper method sanitize or the :tags option to the instance method SafeListSanitizer#sanitize.
ソース: NVD (National Vulnerability Database)
CVSS情報
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
ソース: NVD (National Vulnerability Database)
脆弱性タイプ
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
ソース: NVD (National Vulnerability Database)
脆弱性タイトル
Rails 跨站脚本漏洞
ソース: CNNVD (China National Vulnerability Database)
脆弱性説明
Rails是美国Rails团队的一套基于Ruby语言的开源Web应用框架。 Rails rails-html-sanitizer 1.4.4之前版本存在跨站脚本漏洞,该漏洞源于Rails::Html::Sanitizer 的某些配置可能存在 XSS 漏洞, Rails::Html::Sanitizer 可能允许攻击者注入内容。
ソース: CNNVD (China National Vulnerability Database)
CVSS情報
N/A
ソース: CNNVD (China National Vulnerability Database)
脆弱性タイプ
N/A
ソース: CNNVD (China National Vulnerability Database)

影響を受ける製品

ベンダープロダクト影響を受けるバージョンCPE購読
railsrails-html-sanitizer < 1.4.4 -

II. CVE-2022-23520の公開POC

#POC説明ソースリンクShenlongリンク
AI生成POCプレミアム

公開POCは見つかりませんでした。

ログインしてAI POCを生成

III. CVE-2022-23520のインテリジェンス情報

登录查看更多情报信息。

Same Patch Batch · rails · 2022-12-14 · 4 CVEs total

CVE-2022-235177.5 HIGHInefficient Regular Expression Complexity in rails-html-sanitizer
CVE-2022-235197.2 HIGHPossible XSS vulnerability with certain configurations of rails-html-sanitizer
CVE-2022-23518Improper neutralization of data URIs allows XSS in rails-html-sanitizer

IV. 関連脆弱性

V. CVE-2022-23520へのコメント

まだコメントはありません


コメントを残す