PT-2022-7454 · Ruby+6 · Loofah+6
Haqpl
·
Published
2022-12-13
·
Updated
2026-03-13
·
CVE-2022-23518
CVSS v2.0
6.4
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
rails-html-sanitizer versions 1.0.3 through 1.4.3
Description
The issue is related to the sanitization of HTML fragments in Rails applications when used in combination with Loofah. It allows a remote attacker to conduct cross-site scripting attacks via data URIs.
Recommendations
Upgrade to rails-html-sanitizer version 1.4.4 or later. As a temporary workaround, consider restricting the use of Loofah version 2.1.0 or later until the issue is resolved.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Loofah
Red Os
Rocky Linux
Suse
Rails-Html-Sanitizer