GHSA-7f42-p84j-f58pHighCVSS 7.5

Sanitize vulnerable to Improper Input Validation and Cross-site Scripting

Published
March 21, 2018
Last Modified
January 23, 2023

🔗 CVE IDs covered (1)

📋 Description

When Sanitize <= 4.6.2 is used in combination with libxml2 >= 2.9.2, a specially crafted HTML fragment can cause libxml2 to generate improperly escaped output, allowing non-whitelisted attributes to be used on whitelisted elements.

This can allow HTML and JavaScript injection, which could result in XSS if Sanitize's output is served to browsers.

🎯 Affected products1

  • rubygems/sanitize:>= 3.0.0, < 4.6.3

🔗 References (8)