CVE-2021-40690

HIGH CVSS 3.1: 7.5 EPSS 7.44%
Updated Oct 09, 2026
Apache
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 2.2.0 — 8.2.3
Fixed In 2.1.7
Type CWE-200 (Information Exposure)
Vendor Apache
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 34

Configuration From (including) Up to (excluding)
Apache Santuario_Xml_Security_For_Java
cpe:2.3:a:apache:santuario_xml_security_for_java:*:*:*:*:*:*:*:*
— 2.1.7
Apache Santuario_Xml_Security_For_Java
cpe:2.3:a:apache:santuario_xml_security_for_java:*:*:*:*:*:*:*:*
2.2.0 2.2.3
Apache Cxf
cpe:2.3:a:apache:cxf:3.4.4:*:*:*:*:*:*:*
— —
Apache Tomee
cpe:2.3:a:apache:tomee:*:*:*:*:*:*:*:*
— 8.0.8
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
— —
Oracle Agile_Product_Lifecycle_Management
cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:*
— —
Oracle Commerce_Guided_Search
cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:*
— —
Oracle Commerce_Platform
cpe:2.3:a:oracle:commerce_platform:11.3.2:*:*:*:*:*:*:*
— —
Oracle Communications_Diameter_Intelligence_Hub
cpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:*
8.0.0 <= 8.1.0
Oracle Communications_Diameter_Intelligence_Hub
cpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:*
8.2.0 <= 8.2.3
Oracle Communications_Messaging_Server
cpe:2.3:a:oracle:communications_messaging_server:8.1:*:*:*:*:*:*:*
— —
Oracle Flexcube_Private_Banking
cpe:2.3:a:oracle:flexcube_private_banking:12.1.0:*:*:*:*:*:*:*
— —
Oracle Outside_In_Technology
cpe:2.3:a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*
— —
Oracle Peoplesoft_Enterprise_Peopletools
cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:*
— —
Oracle Peoplesoft_Enterprise_Peopletools
cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:*
— —
Oracle Retail_Bulk_Data_Integration
cpe:2.3:a:oracle:retail_bulk_data_integration:16.0.3:*:*:*:*:*:*:*
— —
Oracle Retail_Financial_Integration
cpe:2.3:a:oracle:retail_financial_integration:14.1.3.2:*:*:*:*:*:*:*
— —
Oracle Retail_Financial_Integration
cpe:2.3:a:oracle:retail_financial_integration:15.0.3.1:*:*:*:*:*:*:*
— —
Oracle Retail_Financial_Integration
cpe:2.3:a:oracle:retail_financial_integration:16.0.3:*:*:*:*:*:*:*
— —
Oracle Retail_Financial_Integration
cpe:2.3:a:oracle:retail_financial_integration:19.0.1:*:*:*:*:*:*:*
— —
Oracle Retail_Integration_Bus
cpe:2.3:a:oracle:retail_integration_bus:14.1.3.2:*:*:*:*:*:*:*
— —
Oracle Retail_Integration_Bus
cpe:2.3:a:oracle:retail_integration_bus:15.0.3.1:*:*:*:*:*:*:*
— —
Oracle Retail_Integration_Bus
cpe:2.3:a:oracle:retail_integration_bus:16.0.3:*:*:*:*:*:*:*
— —
Oracle Retail_Integration_Bus
cpe:2.3:a:oracle:retail_integration_bus:19.0.1:*:*:*:*:*:*:*
— —
Oracle Retail_Merchandising_System
cpe:2.3:a:oracle:retail_merchandising_system:16.0.3:*:*:*:*:*:*:*
— —
Oracle Retail_Merchandising_System
cpe:2.3:a:oracle:retail_merchandising_system:19.0.1:*:*:*:*:*:*:*
— —
Oracle Retail_Service_Backbone
cpe:2.3:a:oracle:retail_service_backbone:14.1.3.2:*:*:*:*:*:*:*
— —
Oracle Retail_Service_Backbone
cpe:2.3:a:oracle:retail_service_backbone:15.0.3.1:*:*:*:*:*:*:*
— —
Oracle Retail_Service_Backbone
cpe:2.3:a:oracle:retail_service_backbone:16.0.3:*:*:*:*:*:*:*
— —
Oracle Retail_Service_Backbone
cpe:2.3:a:oracle:retail_service_backbone:19.0.1:*:*:*:*:*:*:*
— —
Oracle Weblogic_Server
cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:*
— —
Oracle Weblogic_Server
cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*
— —