CVE-2019-0188: XML External Entity injection in Apache Camel

org.apache.camel:camel-core Updated 02 Oct 2025

Summary

29/05/2019
Yes i
High
7.5

CVE-2019-0188: XML External Entity injection in Apache Camel. Affects org.apache.camel:camel-core versions < 2.24.0. Fixed in 2.24.0. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Camel is an open-source integration framework that provides a rule-based routing and mediation engine. It allows developers to integrate different systems using various protocols and technologies. The camel-xmljson component, which has been removed, was responsible for converting XML to JSON and vice versa.

Vulnerability Detail

The vulnerability (CVE-2019-0188) is an XML External Entity (XXE) injection flaw in Apache Camel prior to version 2.24.0. This vulnerability is caused by the usage of an outdated and vulnerable JSON-lib library. The camel-xmljson component, which is now removed, was affected by this vulnerability. An attacker could exploit this vulnerability by sending specially crafted XML input to an application using the camel-xmljson component, leading to the disclosure of internal files, denial of service, or server-side request forgery.

How To Fix

Latest published version: 4.23.0 as of 22 Oct 2026

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

If you need the minimum change

2.24.0

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

As the camel-xmljson component has been removed, there is no specific workaround available for this vulnerability. However, users can mitigate the risk by ensuring that their Apache Camel version is up to date and by following secure coding practices.

Conclusion

The XML External Entity injection vulnerability in Apache Camel (CVE-2019-0188) can be mitigated by upgrading to version 2.24.0 or later and ensuring the usage of a secure version of the JSON-lib library. For further assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.camel:camel-core →

Share this vulnerability

FAQ

Apache Camel is an open-source integration framework that provides a rule-based routing and mediation engine. It allows developers to integrate different systems using various protocols and technologies.

XML External Entity (XXE) injection is a vulnerability that allows an attacker to exploit an XML parser's functionality to disclose internal files, perform denial of service attacks, or initiate server-side request forgery.

The camel-xmljson component of Apache Camel, responsible for converting XML to JSON and vice versa, is affected by this vulnerability. However, this component has been removed in the latest version of Apache Camel.

Exploiting this vulnerability could lead to the disclosure of internal files, denial of service attacks, or server-side request forgery, depending on the attacker's intentions.

To fix this vulnerability, it is recommended to upgrade Apache Camel to version 2.24.0 or later. Additionally, updating the vulnerable library, JSON-lib, to a secure version is advised.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.camel:camel-core.

How To Fix

Latest published version: 4.23.0 as of 22 Oct 2026

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

If you need the minimum change

2.24.0

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