PT-2026-144662
CVE-2026-126063
·
Published
2026-11-10
·
Updated
2026-11-10
Description by
CVSS 4.0
2.3
LowMetricsAV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions
Nokogiri versions 1.12.0 through 1.19.4
Description
The
Nokogiri::HTML5 serializer in the C extension for CRuby and TruffleRuby fails to escape text within noscript elements and angle brackets within attribute values. This behavior allows a scripting-enabled browser to parse serialized output into markup that was not originally produced by the parser, leading to mutation cross-site scripting (mXSS). This occurs when an application sanitizes untrusted HTML using default parsing options, permits noscript elements, and sends the resulting output to a browser.Recommendations
Update to version 1.19.5 or later.
As a temporary workaround, use the
parse noscript content as text: true option during parsing or remove noscript elements entirely.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾