製品・ソフトウェアに関する情報
Ruby 用 rails-html-sanitizer gem におけるクロスサイトスクリプティングの脆弱性
Title Ruby 用 rails-html-sanitizer gem におけるクロスサイトスクリプティングの脆弱性
Summary

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

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

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

Publication Date March 22, 2018, midnight
Registration Date May 25, 2018, 11:51 a.m.
Last Update May 25, 2018, 11:51 a.m.
CVSS3.0 : 警告
Score 6.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS2.0 : 警告
Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
Affected System
Ruby on Rails project
rails-html-sanitizer 1.0.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2018年05月25日]
  掲載
May 25, 2018, 11:51 a.m.

NVD Vulnerability Information
CVE-2018-3741
Summary

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.

Publication Date March 31, 2018, 4:29 a.m.
Registration Date March 1, 2021, 7:26 p.m.
Last Update Nov. 21, 2024, 1:05 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:rubyonrails:html_sanitizer:*:*:*:*:*:ruby:*:* 1.0.3
Related information, measures and tools
Common Vulnerabilities List