CVE-2022-23518

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. 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. This issue is patched in version 1.4.4.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rubyonrails:rails_html_sanitizers:*:*:*:*:*:rails:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*

History

21 Nov 2024, 06:48

Type Values Removed Values Added
References () https://github.com/rails/rails-html-sanitizer/issues/135 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/rails/rails-html-sanitizer/issues/135 - Exploit, Issue Tracking, Third Party Advisory
References () https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72m - Third Party Advisory () https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72m - Third Party Advisory
References () https://hackerone.com/reports/1694173 - Permissions Required, Third Party Advisory () https://hackerone.com/reports/1694173 - Permissions Required, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html - Mailing List, Third Party Advisory

01 Feb 2024, 16:06

Type Values Removed Values Added
First Time Rubyonrails
Rubyonrails rails Html Sanitizers
Debian
Debian debian Linux
CPE cpe:2.3:a:rails_html_sanitizer_project:rails_html_sanitizer:*:*:*:*:*:ruby:*:* cpe:2.3:a:rubyonrails:rails_html_sanitizers:*:*:*:*:*:rails:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
References (MISC) https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html - (MISC) https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html - Mailing List, Third Party Advisory

13 Sep 2023, 17:15

Type Values Removed Values Added
References
  • (MISC) https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html -

Information

Published : 2022-12-14 17:15

Updated : 2024-11-21 06:48


NVD link : CVE-2022-23518

Mitre link : CVE-2022-23518

CVE.ORG link : CVE-2022-23518


JSON object : View

Products Affected

debian

  • debian_linux

rubyonrails

  • rails_html_sanitizers

loofah_project

  • loofah
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')