PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-57234 sparklemotion CVE debrief

A vulnerability in Nokogiri, an open-source XML and HTML library for Ruby, allows for potential SSRF or XXE attacks due to the incorrect enforcement of the NONET parse option on the JRuby implementation prior to version 1.19.4. This issue impacts Ruby applications that parse XML or HTML, potentially enabling attackers to fetch external resources over the network. Defenders responsible for Ruby applications using Nokogiri should assess exposure and prioritize verification and potential upgrades.

Vendor
sparklemotion
Product
nokogiri
CVSS
LOW 2.6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-06-25
Original CVE updated
2026-10-25
Advisory published
2026-06-25
Advisory updated
2026-10-25

Who should care

Defenders responsible for Ruby applications using Nokogiri, especially those handling XML or HTML parsing, should assess exposure and prioritize verification and potential upgrades.

Why it matters

Defenders should care about CVE-2026-57234 because it affects Nokogiri, a widely-used Ruby library for XML and HTML parsing. The vulnerability could enable SSRF or XXE attacks in JRuby implementations prior to version 1.19.4, impacting Ruby applications that parse XML or HTML. Verification of exposure, prioritization of upgrades, and implementation of compensating controls are crucial defensive actions.

  • Potential SSRF attacks against Ruby applications using Nokogiri for XML or HTML parsing
  • Potential XXE attacks against Ruby applications using Nokogiri for XML or HTML parsing
  • Verification of exposure in Ruby applications using Nokogiri prior to version 1.19.4
  • Prioritization of upgrades to Nokogiri version 1.19.4 or application of compensating controls

Technical summary

The Nokogiri library for Ruby, prior to version 1.19.4, has a vulnerability in its JRuby implementation where the NONET parse option is not correctly enforced. This could potentially allow for Server-Side Request Forgery (SSRF) or XML External Entity (XXE) attacks when parsing XML or HTML. The vulnerability impacts Ruby applications that use Nokogiri for XML or HTML parsing, and defenders should prioritize verifying exposure and assessing the need for upgrading to version 1.19.4 or applying compensating controls. The issue is fixed in Nokogiri version 1.19.4.

Defensive priority

Defenders should prioritize verifying exposure in Ruby applications using Nokogiri, especially those handling XML or HTML parsing, and assess the need for upgrading to version 1.19.4 or applying compensating controls.

Recommended defensive actions

  • Verify if Ruby applications using Nokogiri are exposed to XML or HTML parsing risks
  • Assess the need for upgrading to Nokogiri version 1.19.4
  • Implement compensating controls for SSRF and XXE attacks if upgrading is not feasible
  • Monitor for potential SSRF or XXE attacks targeting Ruby applications using Nokogiri
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD detail page provide information on the vulnerability, its impact, and the fixed version. A vendor advisory is also available. The vulnerability affects JRuby implementations of Nokogiri prior to version 1.19.4, and defenders should verify exposure in Ruby applications using Nokogiri for XML or HTML parsing. The NONET parse option is not correctly enforced, potentially enabling SSRF or XXE attacks.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-57234 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-57234

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-57234 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-57234

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-8678-w3jw-xfc2

    [email protected] - Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.