Live threats

All CVEs / Apache

CVE-2019-12400Apache Santuario Xml Security For Java

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 57
Auth required
Yes
Published
Aug 23, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this implementation might be cached and re-used by Apache Santuario - XML Security for Java, leading to potential security flaws when validating signed documents, etc. The vulnerability affects Apache Santuario - XML Security for Java 2.0.x releases from 2.0.3 and all 2.1.x releases before 2.1.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Santuario Xml Security For Java.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.santuario:xmlsec ≥ 2.0.3 < 2.1.4 2.1.4 —

Per OSV / GitHub Advisories (GHSA-4q98-wr72-h35w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachesantuario_xml_security_for_java≥ 2.0.3 ≤ 2.0.10
apachesantuario_xml_security_for_java≥ 2.1.0 < 2.1.4
redhatjboss_enterprise_application_platform7.2
oracleweblogic_server12.2.1.4.0
oracleweblogic_server14.1.1.0.0

Official sources

References

Links published by the sources. Open them with care.