CVE-2022-23518

Published: Dic 14, 2022 Last Modified: Nov 03, 2025 EU-VD ID: EUVD-2022-7685 Aliases: GHSA-mcvf-2q2m-x72m
ExploitDB:
Other exploit source:
Google Dorks:
MEDIUM 6,1
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: required
Scope: changed
Confidentiality: low
Integrity: low
Availability: none

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0030
Percentile
0,5th
Updated

EPSS Score Trend (Last 90 Days)

79

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

Stable
Common Consequences
Security Scopes Affected:
Access Control Confidentiality Integrity Availability
Potential Impacts:
Bypass Protection Mechanism Read Application Data Execute Unauthorized Code Or Commands
Applicable Platforms
Technologies: AI/ML, Web Based, Web Server
View CWE Details
Operating System

Debian Linux by Debian

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Loofah by Loofah Project

Version Range Affected
From 2.1.0 (inclusive)
To 2.19.1 (exclusive)
cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Rails Html Sanitizers by Rubyonrails

Version Range Affected
From 1.0.3 (inclusive)
To 1.4.4 (exclusive)
cpe:2.3:a:rubyonrails:rails_html_sanitizers:*:*:*:*:*:rails:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://github.com/rails/rails-html-sanitizer/issues/135
https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2…
https://hackerone.com/reports/1694173
https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html
https://lists.debian.org/debian-lts-announce/2024/09/msg00045.html
https://github.com/rails/rails-html-sanitizer/issues/135
https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2…
https://hackerone.com/reports/1694173
https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html