XML::Sig versions before 0.74 for Perl contain a vulnerability that allows code execution via manipulation of the Algorithm attribute in signed XML documents. The vulnerability arises because the Algorithm attribute's value is resolved to a function name that is then called, enabling an attacker who can submit a signed document to execute arbitrary code as the verifying process.