{"id":"CVE-2026-79772","published":"2026-08-25T15:16:04Z","modified":"2026-08-28T22:24:47Z","title":"Nokogiri before 1.19.1 Unchecked Return Value canonicalize","vendor":"sparklemotion","product":"nokogiri","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00342,"percentile":0.28392,"provenance":"source"},"cwes":[{"id":"CWE-252","name":"Unchecked Return Value"}],"references":[{"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nokogiri-before-unchecked-return-value-canonicalize","tags":["third-party-advisory"]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":5.68},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"sparklemotion","affectedVersions":[{"vendor":"sparklemotion","product":"nokogiri","versions":[">= 1.5.1, < 1.19.1"]}],"fixedVersions":[{"vendor":"sparklemotion","product":"nokogiri","versions":["1.19.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-28T22:24:35.826683Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"nokogiri","vulnerableRanges":[">=1.5.1, <1.19.1"],"patched":["1.19.1"],"from":["GHSA-wx95-c6cv-8532"],"provenance":"source"}],"summary":{"text":"The vulnerability is an unchecked return value in the canonicalize method of Nokogiri, the Ruby XML library by sparklemotion, in versions before 1.19.1: failures from xmlC14NExecute are not detected, and an empty string is returned instead of an exception being raised. An attacker who can supply XML to a downstream application over the network, without authentication or user interaction, can submit invalid canonicalized XML that is accepted as valid and so bypass signature validation in dependent SAML libraries.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:38Z"},"euvd":{"id":"EUVD-2026-65530","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-24836","published":"2022-04-11","fixed":"1.13.4","kev":false},{"cve":"CVE-2022-29181","published":"2022-05-20","fixed":"1.13.6","kev":false},{"cve":"CVE-2022-23476","published":"2022-12-08","fixed":"1.13.10","kev":false},{"cve":"CVE-2026-79772","published":"2026-08-25","fixed":"1.19.1","kev":false},{"cve":"CVE-2026-79770","published":"2026-08-25","fixed":"1.19.3","kev":false,"link":{"from":"CVE-2026-79772","to":"CVE-2026-79770","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.19.1","toFixed":"1.19.3","daysApart":0}]}},{"cve":"CVE-2026-79771","published":"2026-08-25","fixed":"1.19.3","kev":false,"link":{"from":"CVE-2026-79772","to":"CVE-2026-79771","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.19.1","toFixed":"1.19.3","daysApart":0}]}},{"cve":"CVE-2026-126062","published":"2026-11-10","fixed":"1.19.5","kev":false}],"package":"RubyGems:nokogiri"}}