Rapid7 Vulnerability & Exploit Database

Ruby on Rails: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CVE-2022-23518)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ruby on Rails: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CVE-2022-23518)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
12/14/2022
Created
02/08/2024
Added
02/07/2024
Modified
02/07/2024

Description

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.

Solution(s)

  • ruby-on-rails-upgrade-latest

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;