Incomplete Fix for XML External Entity (XXE) Injection in libspring-java

libspring-java Updated 02 Oct 2025

Summary

08/02/2014
N/A
Yes i
Unrated
Not published

DSA-2857-1: libspring-java - several. Affects libspring-java versions < 3.0.6.RELEASE-6+deb7u2. Fixed in 3.0.6.RELEASE-6+deb7u2. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libspring-java is a library used in the Spring Framework, which is a popular Java application framework. It provides various functionalities for building enterprise-level Java applications. However, libspring-java is vulnerable to an XML External Entity (XXE) Injection vulnerability, which can allow attackers to read arbitrary files or cause denial of service attacks.

Vulnerability Detail

The fix for the XML External Entity (XXE) Injection vulnerability in the Spring Framework was found to be incomplete. The SourceHttpMessageConverter in Spring MVC also processed user-provided XML without disabling XML external entities or providing an option to disable them. This could allow attackers to exploit XXE vulnerabilities and potentially read sensitive files or launch denial of service attacks. Additionally, a possible XSS vulnerability was discovered in the JavaScriptUtils.javaScriptEscape() method, which could lead to cross-site scripting (XSS) attacks.

How To Fix

Minimum fixed version

3.0.6.RELEASE-6+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libspring-java

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

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to apply the recommended fix by upgrading the libspring-java packages.

Conclusion

libspring-java is vulnerable to an incomplete fix for an XML External Entity (XXE) Injection vulnerability and a possible XSS vulnerability. To mitigate these vulnerabilities, it is crucial to upgrade the libspring-java packages to the recommended versions. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for libspring-java →

Share this vulnerability

FAQ

libspring-java is a library used in the Spring Framework, a popular Java application framework.

An XML External Entity (XXE) Injection vulnerability allows attackers to exploit XML parsers by including external entities, potentially leading to information disclosure or denial of service attacks.

The vulnerability in libspring-java could allow attackers to read arbitrary files or launch denial of service attacks. The XSS vulnerability could lead to cross-site scripting attacks.

To fix the vulnerability, upgrade the libspring-java packages to the recommended versions mentioned in the 'how_to_fix' section.

No specific workaround is mentioned for this vulnerability. It is recommended to apply the fix by upgrading the libspring-java packages.

Related vulnerabilities

Recent vulnerabilities recorded for libspring-java.

How To Fix

Minimum fixed version

3.0.6.RELEASE-6+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libspring-java

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