CVE-2025-40934
CriticalSummary
XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted. An attacker can remove the signature from an XML document to make it pass verification. XML-Sig is a Perl module to validate signatures on XML files. An unsigned XML file should return an error, but affected versions return true when validating an XML file with no signatures.
Risk Assessment
An attacker could forge XML documents by removing signatures, potentially leading to data integrity and authorization bypass in systems using XML-Sig.
Recommendation
Update XML-Sig to a version later than 0.67. If possible, enforce the presence of signatures in processed XML documents.
Original NVD description (English source)
XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted. An attacker can remove the signature from the XML document to make it pass the verification check. XML-Sig is a Perl module to validate signatures on XML files. An unsigned XML file should return an error message. The affected versions return true when attempting to validate an XML file that contains no signatures.

