Ruby 用 rails-html-sanitizer gem におけるクロスサイトスクリプティングの脆弱性
タイトル Ruby 用 rails-html-sanitizer gem におけるクロスサイトスクリプティングの脆弱性
概要

Ruby 用 rails-html-sanitizer gem には、クロスサイトスクリプティングの脆弱性が存在します。

想定される影響 情報を取得される、および情報を改ざんされる可能性があります。
対策

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2018年3月22日0:00
登録日 2018年5月25日11:51
最終更新日 2018年5月25日11:51
CVSS3.0 : 警告
スコア 6.1
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS2.0 : 警告
スコア 4.3
ベクター AV:N/AC:M/Au:N/C:N/I:P/A:N
影響を受けるシステム
Ruby on Rails project
rails-html-sanitizer 1.0.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2018年05月25日]
  掲載
2018年5月25日11:51

NVD脆弱性情報
CVE-2018-3741
概要

There is a possible XSS vulnerability in all rails-html-sanitizer gem versions below 1.0.4 for Ruby. The gem allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments, and these attributes can lead to an XSS attack on target applications. This issue is similar to CVE-2018-8048 in Loofah. All users running an affected release should either upgrade or use one of the workarounds immediately.

公表日 2018年3月31日4:29
登録日 2021年3月1日19:26
最終更新日 2024年11月21日13:05
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:rubyonrails:html_sanitizer:*:*:*:*:*:ruby:*:* 1.0.3
関連情報、対策とツール
共通脆弱性一覧