Improper neutralization of data URIs allows XSS in rails-html-sanitizer
CVE-2022-23518

6.1MEDIUM

Key Information:

Vendor

Rails

Vendor
CVE Published:
14 December 2022

What is 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.

Affected Version(s)

rails-html-sanitizer >= 1.0.3, < 1.4.4

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.