{"schemaVersion":3,"id":"CVE-2022-29265","aliases":["GHSA-wc97-7623-rxwx","BIT-nifi-2022-29265"],"status":"published","duplicateOf":null,"title":null,"description":"Multiple components in Apache NiFi 0.0.1 to 1.16.0 do not restrict XML External Entity references in the default configuration. The Standard Content Viewer service attempts to resolve XML External Entity references when viewing formatted XML files. The following Processors attempt to resolve XML External Entity references when configured with default property values: - EvaluateXPath - EvaluateXQuery - ValidateXml Apache NiFi flow configurations that include these Processors are vulnerable to malicious XML documents that contain Document Type Declarations with XML External Entity references. The resolution disables Document Type Declarations in the default configuration for these Processors, and disallows XML External Entity resolution in standard services.","dates":{"published":"2022-04-30T08:05:10.000Z","modified":"2024-08-03T06:17:54.476Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02597,"percentile":0.851,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02597},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02557,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02557,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02557,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02557,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02557,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02597,"percentile":0.851}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02597,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02597,"percentile":0.851}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"apache software foundation","product":"apache nifi","name":"Apache NiFi","label":"apache nifi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.0.1 to 1.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.0.1 to 1.16.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_nifi"},{"vendor":"apache","product":"nifi","name":"nifi","label":"nifi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.0.1, ≤ 1.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.1, ≤ 1.16.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-nifi","label":"Apache NiFi","category":"server-app"}},"hubHref":"/vendor/apache/nifi"},{"vendor":"org.apache.nifi","product":"nifi","name":"org.apache.nifi:nifi","label":"nifi","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi","purlType":"maven","versions":[{"text":"≥ 0.0.1, < 1.16.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.1, < 1.16.1","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nifi.apache.org/security.html#CVE-2022-29265","label":"nifi.apache.org/security.html","hostname":"nifi.apache.org","tags":["X Refsource MISC","WEB","Vendor Advisory"]},{"url":"https://lists.apache.org/thread/47od9kr9n4cyv0mv81jh3pkyx815kyjl","label":"lists.apache.org/thread/47od9kr9n4cyv0mv81jh3pkyx815kyjl","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Mitigation","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29265","label":"nvd.nist.gov/vuln/detail/CVE-2022-29265","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/nifi","label":"github.com/apache/nifi","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-04-30T08:05:10.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T06:17:54.476Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:13:18.593Z","stale":false,"partial":false}}