A AegiFlow
MEDIUMCVSS 6.9

GHSA-xqqh-3w52-q8p7

Duplicate Advisory: Nokogiri does not check the return value from xmlC14NExecute

Published
2026-08-25
Modified
2026-09-02
Sources
github-advisory

Summary

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-wx95-c6cv-8532. This link is maintained to preserve external references. ## Original 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.

Affected packages

EcosystemPackageAffected versionsFixed versions
RubyGemsnokogiri

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.