{"id":"CVE-2020-13940","aliases":["CVE-2020-13940","GHSA-q4xf-3pmq-3hw8","BIT-NIFI-2020-13940"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Restriction of XML External Entity Reference in Apache NiFi","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"En Apache NiFi versiones 1.0.0 hasta 1.11.4, el administrador del servicio de notificación y varios objetos del autorizador de políticas y proveedor de grupos de usuarios permitieron a los administradores confiables configurar inadvertidamente un archivo XML potencialmente malicioso.&#xa0;El archivo XML tiene la capacidad de hacer llamadas externas a servicios (por medio de XXE)","source":"nvd"}],"published":"2020-10-01T19:55:16.000Z","modified":"2026-09-08T08:48:16.946Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"version":"Apache NiFi 1.0.0 to 1.11.4","status":"affected"}],"product":"Apache NiFi","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","fixed":"1.12.0-RC1"}],"ecosystem":"Maven","package":"org.apache.nifi:nifi","purl":"pkg:maven/org.apache.nifi/nifi","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","lastAffected":"1.11.4"}],"vendor":"apache","product":"nifi","cpe":"cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","lastAffected":"1.11.4"}],"ecosystem":"Bitnami","package":"nifi","purl":"pkg:bitnami/nifi","source":"bitnami"}],"references":[{"url":"https://nifi.apache.org/security#CVE-2020-13940","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13940","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/nifi/commit/7f0416ee8bdcee95e28409cc6fae9c1394c2a798","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-13940","url":"https://www.cve.org/CVERecord?id=CVE-2020-13940","licence":"CVE Terms of Use","modified":"2024-08-04T12:32:14.454Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q4xf-3pmq-3hw8","url":"https://github.com/advisories/GHSA-q4xf-3pmq-3hw8","licence":"CC-BY-4.0","modified":"2025-09-15T07:41:52.738Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-13940","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13940","licence":"Public domain","modified":"2026-06-17T02:53:56.643Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NIFI-2020-13940","url":"https://osv.dev/vulnerability/BIT-NIFI-2020-13940","licence":"Apache-2.0","modified":"2026-09-08T08:48:16.946Z"}],"updatedAt":"2026-11-25T22:57:55.009Z","epss":{"score":0.01911,"percentile":0.80395,"date":"2026-12-01T12:00:22.000Z"}}