Home / Apache / Apache Santuario - XML Security for Java / CVE-2019-12400
CVE-2019-12400: is it exploited, and which versions of Apache Santuario - XML Security for Java are affected and fixed?
CVE-2019-12400 is an improper input validation vulnerability in Apache Santuario - XML Security for Java. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: org.apache.santuario:xmlsec from 2.0.3 before 2.1.4 (GitHub advisory GHSA-4q98-wr72-h35w). Fixed in 2.1.4 (GitHub advisory GHSA-4q98-wr72-h35w). Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:20 UTC.
What is CVE-2019-12400?
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.
From the CVE record by apache, last updated August 4, 2024, 23:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache | Apache Santuario - XML Security for Java | All 2.0.x releases from 2.0.3 all 2.1.x releases before 2.1.4. |
As the CVE record by apache states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.santuario:xmlsec | >= 2.0.3, < 2.1.4 | 2.1.4 | GHSA-4q98-wr72-h35w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 17, 2021. Summary: Improper input validation in Apache Santuario XML Security for Java.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | santuario xml security for java | from 2.0.3 through 2.0.10 | application |
| apache | santuario xml security for java | from 2.1.0 before 2.1.4 | application |
| redhat | jboss enterprise application platform | 7.2 | application |
| oracle | weblogic server | 12.2.1.4.0 | application |
| oracle | weblogic server | 14.1.1.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:14 UTC.
How severe is CVE-2019-12400?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
| Low 1.9 | CVSS 2.0 | AV:L/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-12400 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.78% probability of exploitation activity in the next 30 days, percentile 57.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- [santuario-dev] 20190905 Re: [CVE-2019-12400] Apache Santuario potentially loads XML parsing code from an untrusted source mailing-list, x_refsource_MLIST
- [santuario-dev] 20190906 Re: [CVE-2019-12400] Apache Santuario potentially loads XML parsing code from an untrusted source mailing-list, x_refsource_MLIST
- RHSA-2020:0806 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0811 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0804 vendor-advisory, x_refsource_REDHAT
- RHSA-2020:0805 vendor-advisory, x_refsource_REDHAT
- [tomee-commits] 20200324 [jira] [Created] (TOMEE-2791) TomEE plus(7.0.7) is affected by CVE-2019-12400 vulnerability mailing-list, x_refsource_MLIST
- [tomee-commits] 20200720 [jira] [Created] (TOMEE-2885) Update Apache XML Security for Java to mitigate CVE-2019-12400 mailing-list, x_refsource_MLIST
- [tomee-commits] 20200720 [jira] [Assigned] (TOMEE-2885) Update Apache XML Security for Java to mitigate CVE-2019-12400 mailing-list, x_refsource_MLIST
- [tomee-commits] 20200720 [jira] [Commented] (TOMEE-2885) Update Apache XML Security for Java to mitigate CVE-2019-12400 mailing-list, x_refsource_MLIST
- [santuario-commits] 20210917 svn commit: r1076843 - in /websites/production/santuario/content: cache/main.pageCache index.html javaindex.html secadv.data/CVE-20 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- http://santuario.apache.org/secadv.data/CVE-2019-12400.asc?version=1&modificationDate=1566573083000&api=v2 x_refsource_CONFIRM
- https://security.netapp.com/advisory/ntap-20190910-0003/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 28, 2019
- Published
- August 23, 2019, 20:30 UTC
- CVE record updated
- August 4, 2024, 23:17 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 02:14 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:20 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2019-12400
Is CVE-2019-12400 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.78% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Santuario - XML Security for Java are affected by CVE-2019-12400?
org.apache.santuario:xmlsec from 2.0.3 before 2.1.4, per the GitHub advisory GHSA-4q98-wr72-h35w. The tables above give every range the sources list.
Which version fixes CVE-2019-12400?
2.1.4, per the GitHub advisory GHSA-4q98-wr72-h35w. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-12400?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-12400?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.