CVE-2021-40690

published 19 Sep 2021 · updated 8 Oct 2026

Bypass of the secureValidation property

5.0MediumEPSS 7%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 7%. Fixed in 2.2.3,2.1.7.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=XML Security for Java <2.2.3,2.1.72.2.3,2.1.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-40690 severity on Zeptric[![CVE-2021-40690](https://zeptric.io/badge/cve/CVE-2021-40690.svg)](https://zeptric.io/cve/CVE-2021-40690)