Medium

Apache Santuario - XML Security for Java are vulnerable to private key disclosure

  • Disclosed: 20.10.2023
  • Updated: 11.10.2026 13:20

All versions of Apache Santuario - XML Security for Java prior to 2.2.6, 2.3.4, and 3.0.3, when using the JSR 105 API, are vulnerable to an issue where a private key may be disclosed in log files when generating an XML Signature and logging with debug level is enabled. Users are recommended to upgrade to version 2.2.6, 2.3.4, or 3.0.3, which fixes this issue.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.santuario:xmlsec >= 2.3.0, < 2.3.4, < 2.2.6, >= 3.0.0, < 3.0.3 2.3.4, 2.2.6, 3.0.3

References

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

Sources and licenses

OSV / GitHub Advisory Database - GHSA-xfrj-6vvc-3xm2 - 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. Apache Santuario - XML Security for Java are vulnerable to private key disclosure this entry
    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. 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.