← back
CVE-2025-40934

XML-Sig prior to 0.68 for Perl improperly validates XML without signatures

CVSS 9.3 CRITICALEPSS 0.1%CWE-347
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Affected products
TIMLEGGE · XML::Sig

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →