Insufficient verification of data authenticity in XMLSecLibs - #VU156664
Published: October 21, 2026
Vulnerability details
The vulnerability allows a remote attacker to forge XML signatures and compromise the confidentiality and integrity of accepted messages without possessing the corresponding private key.
The vulnerability exists due to insufficient verification of cryptographic key types in XMLSecurityKey::loadKey() when an application loads trusted public key or certificate material in an unrecognized representation into a key object created by XMLSecurityDSig::locateKey(). A remote attacker can submit an XML document specifying an HMAC signature method and compute its signature using those public bytes as the HMAC secret to bypass signature verification.