A flaw was found in Nokogiri. The HTML5 serializer fails to properly escape text inside noscript elements and angle brackets within attribute values. A remote attacker could exploit this vulnerability by submitting crafted HTML to an application that allows noscript tags and re-serializes the markup. When rendered in a user's web browser, the browser can reparse the unescaped content, leading to Cross-Site Scripting (XSS) and executing unintended client-side code.
Exploitability
AV:NAC:HPR:NUI:RScope
S:CImpact
C:LI:LA:N4.7/CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N