Insufficient verification of data authenticity in XMLSecLibs - #VU145062
Published: August 25, 2026
Vulnerability details
The vulnerability allows a remote attacker to forge signatures.
The vulnerability exists due to insufficient verification of data authenticity in verify() and locateKey() when verifying signed XML documents with a caller-supplied key. A remote attacker can supply a crafted signature that downgrades the signature method to hmac-sha1 to forge signatures.
The issue arises because the document\'s SignatureMethod was not always bound to the algorithm of the caller-supplied key, allowing RSA public key material to be treated as an HMAC secret.