Bug 2153701 (CVE-2022-23518) - CVE-2022-23518 rubygem-rails-html-sanitizer: Improper neutralization of data URIs leading to Cross site scripting
Summary: CVE-2022-23518 rubygem-rails-html-sanitizer: Improper neutralization of data ...
Alias: CVE-2022-23518
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2153702 2153705 2153724 2153725
Blocks: 2153085
TreeView+ depends on / blocked
Reported: 2022-12-15 09:23 UTC by ybuenos
Modified: 2023-05-03 22:50 UTC (History)
16 users (show)

Fixed In Version: rubygem-rails-html-sanitizer 1.4.4
Doc Type: ---
Doc Text:
A Cross-site scripting vulnerability was found in rails-html-sanitizer. When used in combination with Loofah since version 2.1.0, improper neutralization of data URIs may allow Cross-site scripting.
Clone Of:
Last Closed: 2023-05-03 22:50:56 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:20:18 UTC

Description ybuenos 2022-12-15 09:23:28 UTC
Rails-html-sanitizer in versions >= 1.0.3, < 1.4.4 are vulnerable to cross-site scripting via data URIs, when used in combination with Loofah >= 2.1.0.

Comment 1 ybuenos 2022-12-15 09:23:43 UTC
Created rubygem-rails-html-sanitizer tracking bugs for this issue:

Affects: fedora-all [bug 2153702]

Comment 5 errata-xmlrpc 2023-05-03 13:20:16 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.13 for RHEL 8

Via RHSA-2023:2097 https://access.redhat.com/errata/RHSA-2023:2097

Comment 6 Product Security DevOps Team 2023-05-03 22:50:53 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Note You need to log in before you can comment on or make changes to this bug.