Medium

Improper input validation in Apache Santuario XML Security for Java

  • Disclosed: 27.08.2019
  • Updated: 11.10.2026 11:21

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.santuario:xmlsec >= 2.0.3, < 2.1.4 2.1.4

References

CVSS score 5.5/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-20
Platform
Java / Kotlin (Maven)
Package
org.apache.santuario:xmlsec
Disclosed
27.08.2019
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-4q98-wr72-h35w - CC BY 4.0

Vulnerability history: org.apache.santuario:xmlsec

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
8
First → latest
08.2019 10.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 7

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 1
  4. 2022: 5
  5. 2023: 1
  6. 2024: 0
  7. 2025: 0
  8. 2026: 0
  1. Medium · 6.5 CVE-2023-44483 >= 2.3.0, < 2.3.4, < 2.2.6, >= 3.0.0, < 3.0.3 2.3.4, 2.2.6, 3.0.3
  2. Medium CVE-2013-5823 >= 1.4.0, < 1.4.8, >= 1.5.0, < 1.5.3 1.4.8, 1.5.3
  3. Medium CVE-2013-2172 >= 1.4.0, < 1.4.8, >= 1.5.0, < 1.5.5 1.4.8, 1.5.5
  4. Medium · 5.3 CVE-2014-8152 >= 2.0.0, < 2.0.3 2.0.3
  5. High · 7.5 CVE-2021-40690 >= 2.2.0, < 2.2.3, < 2.1.7 2.2.3, 2.1.7
  6. Improper input validation in Apache Santuario XML Security for Java this entry
    Medium · 5.5 CVE-2019-12400 >= 2.0.3, < 2.1.4 2.1.4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.