Security Advisories (1)
CVE-2025-40934 (2025-11-26)

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.

Changes for version 0.58 - 2022-07-18

  • Notable Changes since 0.57
    • Thanks to Wesley Schwengle (waterkip) XML::Sig can now sign arbitrary XML nodes with the id_attr. This allows an application to specify the xpath of the node to sign. Ex: /md:EntityDescriptor[@ID]. In addition the ns attribute can be used to support additional namespaces that may be in your XML.
    • b26f8ba Ensure xml signed via id_attr can be verified
    • 028c851 Merge pull request #41 from waterkip/bug-61
    • 915c100 Sign SAML metadata correctly
    • daf2654 Add custom slurp command for files
    • cfc7e9e v0.57

Modules

XML::Sig - A toolkit to help sign and verify XML Digital Signatures