# CVE-2019-0193: XML External Entity (XXE) Injection in Apache Solr

Source: https://junglewise.ai/threats/cve-2019-0193-apache-solr-dataimporthandler-code-injection-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-08-01. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2019-0193 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2019-08-01

The Apache Solr DataImportHandler (DIH) module contains a code injection vulnerability via the 'dataConfig' parameter. An attacker can exploit this by providing a malicious configuration containing scripts, which are executed during the DIH debug mode. Starting with version 8.2.0, this parameter is disabled by default.

Technologies: [Apache Solr](https://junglewise.ai/threats/technologies/solr), [org.apache.solr:solr-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-solr-solr-core). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2019-0193 exploited in the wild?** Yes. CVE-2019-0193 is known to be exploited in the wild, first recorded on 10 December 2021. Treat it as urgent.

**How severe is CVE-2019-0193?** Critical severity, with a CVSS score of 3.1, published 1 August 2019.

**Which products and versions are affected?** org.apache.solr:solr-core (Maven) ECOSYSTEM:introduced=0,fixed=8.2.0.

**Is there a fix for CVE-2019-0193?** Yes. org.apache.solr:solr-core (Maven): upgrade to 8.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2019-0193 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2019-0193?** Check whether you run Apache Solr or org.apache.solr:solr-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.solr:solr-core (Maven): upgrade to 8.2.0 or later

  ```sh
  # set org.apache.solr:solr-core to 8.2.0 in your pom.xml or build.gradle
  ```


## Affected products

- Apache Solr prior to 8.2.0

## Identifiers

- CVE-2019-0193
- GHSA-3gm7-v7vw-866c

## Timeline

- 2021-12-10: disclosed
- 2021-12-10: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
- 2022-06-10: other: CISA KEV remediation due date

## Related threats

- [Apache Solr hardcoded credentials in Basic Authentication setup tool](https://junglewise.ai/threats/cve-2026-44825-apache-solr-hardcoded-credentials-in-basic-authentication-setup)
- [Apache Solr: Unauthorized bypass of certain "predefined permission" rules in the RuleBasedAuthorizationPlugin](https://junglewise.ai/threats/cve-2026-22022-apache-solr-unauthorized-bypass-of-certain-predefined-permission)
- [Apache Solr: Insufficient file-access checking in standalone core-creation requests](https://junglewise.ai/threats/cve-2026-22444-apache-solr-insufficient-file-access-checking-in-standalone-core)
- [Apache Solr vulnerable to Execution with Unnecessary Privileges](https://junglewise.ai/threats/cve-2025-24814-apache-solr-vulnerable-to-execution-with-unnecessary-privileges)
- [Apache Solr Relative Path Traversal vulnerability](https://junglewise.ai/threats/cve-2024-52012-apache-solr-relative-path-traversal-vulnerability)
