Skip to content

Improper neutralization of data URIs may allow XSS in rails-html-sanitizer

Moderate severity GitHub Reviewed Published Dec 13, 2022 in rails/rails-html-sanitizer • Updated Sep 14, 2023

Package

bundler rails-html-sanitizer (RubyGems)

Affected versions

>= 1.0.3, < 1.4.4

Patched versions

1.4.4
@flavorjones flavorjones published to rails/rails-html-sanitizer Dec 13, 2022
Published to the GitHub Advisory Database Dec 13, 2022
Reviewed Dec 13, 2022
Published by the National Vulnerability Database Dec 14, 2022
Last updated Sep 14, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-23518

GHSA ID

GHSA-mcvf-2q2m-x72m
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.