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.
References
| Link | Resource |
|---|---|
| https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532 | Vendor Advisory |
| https://www.vulncheck.com/advisories/nokogiri-before-unchecked-return-value-canonicalize | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-08-25 16:17
Updated : 2026-09-01 14:54
NVD link : CVE-2026-79772
Mitre link : CVE-2026-79772
CVE.ORG link : CVE-2026-79772
JSON object : View
Products Affected
nokogiri
- nokogiri
CWE
CWE-252
Unchecked Return Value
