CVE-2019-3774: XML External Entity Injection in org.springframework.batch:spring-batch-core

Summary

25/01/2019
Yes i
Low
Not published

CVE-2019-3774: Low severity vulnerability that affects org.springframework.batch:spring-batch-core. Affects org.springframework.batch:spring-batch-core across 3 version ranges.

< 3.0.10 >= 4.0.0, < 4.0.2 >= 4.1.0, < 4.1.1

Fixed in 3.0.10, 4.0.2 or 4.1.1, depending on the release line you run. 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

org.springframework.batch:spring-batch-core is a Maven package that provides functionality for batch processing in Spring applications. It allows developers to define and execute complex batch jobs. However, versions 3.0.9, 4.0.1, 4.1.0, and older unsupported versions of this package are vulnerable to XML External Entity Injection (XXE) when processing XML data from untrusted sources.

Vulnerability Detail

XML External Entity Injection (XXE) is a vulnerability that allows an attacker to exploit an XML parser's functionality to disclose internal files, perform remote code execution, or launch denial-of-service attacks. In the case of org.springframework.batch:spring-batch-core, the vulnerability arises when processing XML data from untrusted sources, potentially leading to unauthorized access to sensitive information or system compromise.

How To Fix

Latest published version: 6.1.0-RC1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 3.0.10 3.0.10
  • >= 4.0.0, < 4.0.2 4.0.2
  • >= 4.1.0, < 4.1.1 4.1.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update to the fixed versions mentioned above to address the issue.

Conclusion

The vulnerability in org.springframework.batch:spring-batch-core exposes applications to XML External Entity Injection (XXE) attacks. To mitigate this risk, it is crucial to update to the fixed versions: 3.0.10, 4.0.2, or 4.1.1, depending on the currently used version. For further assistance in vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.springframework.batch:spring-batch-core →

Share this vulnerability

FAQ

XML External Entity Injection (XXE) is a vulnerability that allows an attacker to exploit an XML parser's functionality to disclose internal files, perform remote code execution, or launch denial-of-service attacks.

This vulnerability affects versions 3.0.9, 4.0.1, 4.1.0, and older unsupported versions of org.springframework.batch:spring-batch-core. It allows an attacker to perform XML External Entity Injection when processing XML data from untrusted sources, potentially leading to unauthorized access or system compromise.

No, there are no known workarounds for this vulnerability. It is essential to update to the fixed versions of org.springframework.batch:spring-batch-core.

To fix this vulnerability, update org.springframework.batch:spring-batch-core to the fixed versions: 3.0.10, 4.0.2, or 4.1.1, depending on the currently used version.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.batch:spring-batch-core.

How To Fix

Latest published version: 6.1.0-RC1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 3.0.10 3.0.10
  • >= 4.0.0, < 4.0.2 4.0.2
  • >= 4.1.0, < 4.1.1 4.1.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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