{"id":"GHSA-q4xf-3pmq-3hw8","summary":"Improper Restriction of XML External Entity Reference in Apache NiFi","details":"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).","aliases":["BIT-nifi-2020-13940","CVE-2020-13940"],"modified":"2025-09-15T07:41:52.738881Z","published":"2022-01-06T20:41:00Z","database_specific":{"cwe_ids":["CWE-611"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-03-29T16:20:14Z","nvd_published_at":"2020-10-01T20:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13940"},{"type":"WEB","url":"https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798"},{"type":"WEB","url":"https://nifi.apache.org/security#CVE-2020-13940"}],"affected":[{"package":{"name":"org.apache.nifi:nifi","ecosystem":"Maven","purl":"pkg:maven/org.apache.nifi/nifi"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.12.0-RC1"}]}],"versions":["1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.10.0","1.11.0","1.11.1","1.11.2","1.11.3","1.11.4","1.2.0","1.3.0","1.4.0","1.5.0","1.6.0","1.7.0","1.7.1","1.8.0","1.9.0","1.9.1","1.9.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-q4xf-3pmq-3hw8/GHSA-q4xf-3pmq-3hw8.json","last_known_affected_version_range":"\u003c= 1.11.4"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}