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
01 Sep 2026, 14:54
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532 - Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/nokogiri-before-unchecked-return-value-canonicalize - Third Party Advisory | |
| First Time |
Nokogiri nokogiri
Nokogiri |
|
| CPE | cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* |
25 Aug 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
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
