cve.bz

CVE-2021-40690

7.5 highEPSS 7.4%

All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.

CVSS 3.1
7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
7.4% chance of exploitation in the next 30 days; higher than 94% of CVEs (scores of 2026-10-25)
CWE
CWE-200
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j8wc-gxx9-82hxMavenorg.apache.santuario:xmlsec>=2.2.0 <2.2.32.2.3
GHSA-j8wc-gxx9-82hxMavenorg.apache.santuario:xmlsec<2.1.72.1.7

References

Check your stackJSON