CVE-2022-23518CWE-79

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

Medium · published December 14, 2022

CVSS v3.0
6.1
EPSS
1%
Percentile
60.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.1 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00925 · 60.1th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-12-14T16:22Z
EPSS history
Timeline
  • 14 DEC 16:22Z
    Improper neutralization of data URIs allows XSS in rails-html-sanitizer
    cvelistv5