CVE-2021-40690: Apache Cxf

High severity, CVSS 7.5. EPSS: 7.4% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apache Santuario XML Security For Java, before 2.1.7: fixed in 2.1.7
  • Apache Santuario XML Security For Java, from 2.2.0, before 2.2.3: fixed in 2.2.3
  • Apache Tomee, before 8.0.8: fixed in 8.0.8

Affected products

Affected packages

Published 2021-09-19. Last modified 2026-10-08.