{"cve":"CVE-2019-12400","nvd":{"published":"2019-08-23T21:15:11.490","modified":"2026-06-17T02:14:34.460","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.5},"cwes":["CWE-20"],"references":["http://santuario.apache.org/secadv.data/CVE-2019-12400.asc?version=1&modificationDate=1566573083000&api=v2","https://access.redhat.com/errata/RHSA-2020:0804","https://access.redhat.com/errata/RHSA-2020:0805","https://access.redhat.com/errata/RHSA-2020:0806","https://access.redhat.com/errata/RHSA-2020:0811"],"products":["apache:santuario_xml_security_for_java","oracle:weblogic_server","redhat:jboss_enterprise_application_platform"],"source":"nvd","synced_at":"2026-10-19T20:58:39.700375520+00:00"},"epss":{"cve":"CVE-2019-12400","score":0.00776,"percentile":0.55803,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4q98-wr72-h35w","url":"https://osv.dev/vulnerability/GHSA-4q98-wr72-h35w","summary":"Improper input validation in Apache Santuario XML Security for Java","modified":"2024-02-16T08:04:37.076651Z","packages":[{"ecosystem":"Maven","name":"org.apache.santuario:xmlsec","purl":"pkg:maven/org.apache.santuario/xmlsec","ranges":[">=2.0.3 <2.1.4"],"fixed":["2.1.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}