CVE-2020-13940
MEDIUM 5.5CVSS 3.1Improper Restriction of XML External Entity Reference in Apache NiFi
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).
- Published
- 1 Oct 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- BIT-nifi-2020-13940GHSA-q4xf-3pmq-3hw8
- Sources
- NVDJSONOSV GHSA-q4xf-3pmq-3hw8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | nificpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:* |
>= 1.0.0, <= 1.11.4 | |
| OSV | Maven | org.apache.nifi:nifi | >= 1.0.0, < 1.12.0-RC1 | 1.12.0-RC1 |
References
- https://nifi.apache.org/security#CVE-2020-13940 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-13940 · ADVISORY
- https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 1 Oct 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jan 2022)