Skip to main content
← All vulnerabilities
CVE-2026-79772GHSA-WX95-C6CV-8532

Nokogiri before 1.19.1 Unchecked Return Value canonicalize

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can exploit this to bypass signature validation in downstream SAML libraries by providing invalid canonicalized XML that is incorrectly accepted as valid.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sparklemotion nokogiri

    From 1.5.1 · fixed in 1.19.1

  • nokogiriRubyGems

    From 1.5.1 · fixed in 1.19.1

References 2

GitHub · sparklemotion/nokogiri

vulncheck.com