WaratekVRT Sign in

CVE-2019-12400 Apache Santuario XML Security for Java

Affected softwareApache Santuario XML Security for Java
Severity5.5 Medium CVSS 3.1 2 scores
Fixed in2.1.4
WeaknessImproper input validation (CWE-20)
Published23 Aug 2019
Updated13 Nov 2026

Description

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 7 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.78% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review human Researcher
  • Record active
Decided by A researcher's recorded decision for this specific CVE
Finding A researcher set this CVE's status to Protected by Waratek.

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

Rule example

app("XXE SECURITY POLICY"):
    requires(version: ARMR/2.8)
    marshal("XXE:PROTECT"):
        xxe()
        protect(message: "An XXE attack has been blocked", severity: high)
    endmarshal
endapp

How to mitigate CVE-2019-12400

Upgrade Apache Santuario XML Security for Java to 2.1.4 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.5 MEDIUM v3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.5 MEDIUM CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N NVD Primary published
CVSS 2.0 1.9 none AV:L/AC:M/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2021 ↗ CPU 2021-Q4 Oracle Fusion Middleware / Web Services (Apache Santuario XML Security For Java) (12.2.1.4.0, 14.1.1.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Fusion Middleware Web Services (Apache Santuario XML Security For Java) 12.2.1.4.0, 14.1.1.0.0 12.2.1.4.0 · 14.1.1.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.santuario:xmlsec 2.0.3 2.1.4 unbounded

Products and versions

4 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache santuario xml security for java generic ≥ 2.0.3 and ≤ 2.0.10 · ≥ 2.1.0 and < 2.1.4
nvd oracle weblogic server generic 12.2.1.4.0 · 14.1.1.0.0
osv org.apache.santuario xmlsec generic ≥ 2.0.3 and < 2.1.4
nvd redhat jboss enterprise application platform generic 7.2

Earlier manual review

A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.

## Manual Classification Context **Labels:** WEB SERVICES (APACHE SANTUARIO XML SECURITY FOR JAVA) **Products:** ORACLE WEBLOGIC SERVER, ORACLE FUSION MIDDLEWARE

References

URLTags
https://access.redhat.com/errata/RHSA-2020:0804 WEB
https://access.redhat.com/errata/RHSA-2020:0805 WEB
https://access.redhat.com/errata/RHSA-2020:0806 WEB
https://access.redhat.com/errata/RHSA-2020:0811 WEB
https://lists.apache.org/thread.html/8e814b925bf580bc527d96ff51e72ffe5bdeaa4b8bf5b89498cab24c@%3Cdev.santuario.apache.org%3E WEB
https://lists.apache.org/thread.html/edaa7edb9c58e5f5bd0c950f2b6232b62b15f5c44ad803e8728308ce@%3Cdev.santuario.apache.org%3E WEB
https://lists.apache.org/thread.html/r107bffb06a5e27457fe9af7dfe3a233d0d36c6c2f5122f117eb7f626@%3Ccommits.tomee.apache.org%3E WEB
https://lists.apache.org/thread.html/r1c07a561426ec5579073046ad7f4207cdcef452bb3100abaf908e0cd@%3Ccommits.santuario.apache.org%3E WEB
https://lists.apache.org/thread.html/rcdc0da94fe21b26493eae47ca987a290bdf90c721a7a42491fdd41d4@%3Ccommits.tomee.apache.org%3E WEB
https://lists.apache.org/thread.html/rf82be0a7c98cd3545e20817bb96ed05551ea0020acbaf9a469fef402@%3Ccommits.tomee.apache.org%3E WEB

Timeline

Published2019-08-23By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.
Classification created2026-11-13First commit adding this CVE's research note.
Last VRT activity2026-11-13Most recent commit touching this CVE's classification, patch or rule file.