Intel

AIKIDO-2025-10229

xml-crypto is vulnerable to Incorrect Authorization

Incorrect Authorization Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 10, 2025

80

High Risk

This Affects:

JSxml-crypto
4.0.0 - 6.0.1
Fixed in 6.1.0
Are you affected? Scan for Free

TL;DR

Affected versions are vulnerable to incorrect authorization due to reliance on deprecated APIs: .getReferences() and .references. These methods should not be used, as the data they expose is unsigned and unverified. To mitigate the risk of XML signature wrapping attacks, users are strongly advised to migrate to the .getSignedReferences() API, which ensures proper signature validation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you are using the .getReferences() or .references methods.

Background info

xml-crypto is vulnerable to Incorrect Authorization in versions 4.0.0 - 6.0.1.

How to fix this

Upgrade the xml-crypto library to the patch version and/or only use the .getSignedReferences() method.