SSRF and XXE Vulnerabilities in Nokogiri XML and HTML Library for Ruby
CVE-2026-57234
2.6LOW
What is CVE-2026-57234?
The Nokogiri library, designed for XML and HTML parsing in Ruby, had a vulnerability related to the NONET parse option prior to version 1.19.4. This issue, specifically affecting the JRuby implementation, allowed schemas to be parsed with default options that could fetch external resources over the network. Consequently, this created potential vulnerabilities to Server-Side Request Forgery (SSRF) or XML External Entity (XXE) attacks. Users are encouraged to update to version 1.19.4 to mitigate these security risks.
Affected Version(s)
nokogiri < 1.19.4
