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.
References
Link | Resource |
---|---|
https://hackerone.com/reports/1694173 | Permissions Required Third Party Advisory |
https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-mcvf-2q2m-x72m | Third Party Advisory |
https://github.com/rails/rails-html-sanitizer/issues/135 | Exploit Issue Tracking Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2022-12-14 09:15
Updated : 2022-12-16 11:17
NVD link : CVE-2022-23518
Mitre link : CVE-2022-23518
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
rails_html_sanitizer_project
- rails_html_sanitizer
loofah_project
- loofah