robrichards/xmlseclibs is vulnerable to Signature Verification Bypass
50
Medium Risk
XML signature verification in XMLSecurityDSig does not reject documents that carry a DOCTYPE. A crafted Id attribute that references an XML entity is expanded by getAttribute() but is invisible to the libxml2 XPath lookup used to locate the signed node, so verification can succeed against a different node than the application later reads. This allows signed-content confusion to slip a substituted node past an otherwise valid signature. The fix makes locateSignature() reject documents that contain a DOCTYPE by default through the new forbidDoctype behavior.
You are affected if you are using a version that falls within the vulnerable range and you verify XML signatures on documents from untrusted sources.
robrichards/xmlseclibs is vulnerable to Signature Verification Bypass in versions 0.0.1 - 3.1.5.
Upgrade the robrichards/xmlseclibs library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.