CVE-2014-8152: Improper Input Validation in Apache Santuario XML Security

org.apache.santuario:xmlsec Updated 02 Oct 2025

Summary

13/05/2022
Yes i
Moderate
5.3

CVE-2014-8152: Improper Input Validation in Apache Santuario XML Security. Affects org.apache.santuario:xmlsec versions >= 2.0.0, < 2.0.3. Fixed in 2.0.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Apache Santuario XML Security for Java is a library that provides XML digital signature and encryption functionality. It is commonly used in Java applications to secure XML documents and ensure their integrity and confidentiality. However, versions 2.0.x before 2.0.3 of the library are vulnerable to an improper input validation issue. This vulnerability allows remote attackers to bypass the streaming XML signature protection mechanism by exploiting a flaw in the handling of crafted XML documents.

Vulnerability Detail

The vulnerability in Apache Santuario XML Security for Java arises from a lack of proper input validation. By submitting a specially crafted XML document, an attacker can bypass the streaming XML signature protection mechanism. This can lead to various security risks, such as the ability to tamper with the integrity of signed XML documents or gain unauthorized access to sensitive information. The vulnerability has a moderate severity rating and is classified under CWE-20 (Improper Input Validation).

How To Fix

Minimum fixed version

2.0.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the patched version of the Apache Santuario XML Security library.

Conclusion

The Apache Santuario XML Security library for Java is vulnerable to an improper input validation issue that can be exploited to bypass the streaming XML signature protection mechanism. To mitigate this vulnerability, it is crucial to upgrade to version 2.0.3 or later of the library. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.santuario:xmlsec →

Share this vulnerability

FAQ

Apache Santuario XML Security for Java is a library that provides XML digital signature and encryption functionality for Java applications.

This vulnerability allows remote attackers to bypass the streaming XML signature protection mechanism, potentially compromising the integrity and confidentiality of signed XML documents.

The vulnerability has a moderate severity rating.

CWE-20 is a Common Weakness Enumeration category that refers to the improper input validation vulnerability.

To fix the vulnerability, upgrade the Apache Santuario XML Security library to version 2.0.3 or later.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.santuario:xmlsec.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.0.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback