# CVE-2018-1309: Improper Restriction of XML External Entity Reference in Apache NiFi

Source: https://junglewise.ai/threats/cve-2018-1309-improper-restriction-of-xml-external-entity-reference-in-apache  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-14  
License: CC BY 4.0 with a link back

CVE-2018-1309 · Severity: low · CVSS 3 · Published 2022-05-14

Improper Restriction of XML External Entity Reference in Apache NiFi

Technologies: [org.apache.nifi:nifi-standard-processors (Maven)](https://junglewise.ai/threats/technologies/org-apache-nifi-nifi-standard-processors). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-1309 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-1309 being exploited in the wild.

**How severe is CVE-2018-1309?** Low severity, with a CVSS score of 3, published 14 May 2022.

**Which products and versions are affected?** org.apache.nifi:nifi-standard-processors (Maven) ECOSYSTEM:introduced=0.1.0,fixed=1.6.0.

**Is there a fix for CVE-2018-1309?** Yes. org.apache.nifi:nifi-standard-processors (Maven): upgrade to 1.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-1309?** Check whether you run org.apache.nifi:nifi-standard-processors (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.nifi:nifi-standard-processors (Maven): upgrade to 1.6.0 or later

  ```sh
  # set org.apache.nifi:nifi-standard-processors to 1.6.0 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.nifi:nifi-standard-processors (Maven) ECOSYSTEM:introduced=0.1.0,fixed=1.6.0

## Identifiers

- CVE-2018-1309
- GHSA-42wx-65g4-5cxv

## Related threats

- [Apache NiFi Code Injection vulnerability](https://junglewise.ai/threats/cve-2023-36542-apache-nifi-code-injection-vulnerability)
- [Unencrypted passwords](https://junglewise.ai/threats/unencrypted-passwords-74cfc4bf)
