CVE-2026-79772
published medium CVSS 4.0 · 6.9Nokogiri before 1.19.1 Unchecked Return Value canonicalize
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sparklemotion | — | nokogiri1.5.1 to < 1.19.1 (affected · semver) · 1.19.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sparklemotion | nokogiri | 1.5.1 to < 1.19.1 (affected · semver)1.19.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-252 Unchecked Return Value
References
2- GitHub Security Advisory (GHSA-wx95-c6cv-8532) https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532
- VulnCheck Advisory: Nokogiri before 1.19.1 Unchecked Return Value canonicalize https://www.vulncheck.com/advisories/nokogiri-before-unchecked-return-value-canonicalize
Provider assertions
2VulnCheck · cna
Nokogiri before 1.19.1 Unchecked Return Value canonicalize
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f983909b04f094cc8495e71da91d7315a450385bde56de38bde83b38d183b167
- Ingested
- 23 Sep 2026, 09:33:25 UTC
- Source record
- Official CVE record