# CVE-2020-13940: Improper Restriction of XML External Entity Reference in Apache NiFi

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.91%, higher than 80% of CVEs (2026-12-01)
- Published: 2020-10-01T19:55:16.000Z
- Modified: 2026-09-08T08:48:16.946Z
- Also known as: GHSA-q4xf-3pmq-3hw8, BIT-NIFI-2020-13940
- Weaknesses: CWE-611
- Assigned by: apache

## Description

In Apache NiFi 1.0.0 to 1.11.4, the notification service manager and various policy authorizer and user group provider objects allowed trusted administrators to inadvertently configure a potentially malicious XML file. The XML file has the ability to make external calls to services (via XXE).

(As written by CVE List.)

## Affected

- Apache NiFi: Apache NiFi 1.0.0 to 1.11.4; from 1.0.0 up to 1.11.4
- org.apache.nifi:nifi (Maven): from 1.0.0 before 1.12.0-RC1
- nifi (Bitnami): from 1.0.0 up to 1.11.4

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://nifi.apache.org/security#CVE-2020-13940> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-13940> (advisory, web)
- <https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798> (web)

## Sources

- CVE List: [CVE-2020-13940](https://www.cve.org/CVERecord?id=CVE-2020-13940), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-q4xf-3pmq-3hw8](https://github.com/advisories/GHSA-q4xf-3pmq-3hw8), CC-BY-4.0, modified 2025-09-15
- NVD: [CVE-2020-13940](https://nvd.nist.gov/vuln/detail/CVE-2020-13940), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NIFI-2020-13940](https://osv.dev/vulnerability/BIT-NIFI-2020-13940), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-13940 · Whole record: https://cve.day/CVE-2020-13940.json · Rebuilt by cve.day 2026-11-25T22:57:55.009Z
