{"schemaVersion":3,"id":"CVE-2024-37389","aliases":["CGA-2455-hrcc-2mjr","CGA-cfj7-rjx8-jcxq","GHSA-h658-qqv9-qwv8"],"status":"published","duplicateOf":null,"title":null,"description":"Apache NiFi 1.10.0 through 1.26.0 and 2.0.0-M1 through 2.0.0-M3 support a description field in the Parameter Context configuration that is vulnerable to cross-site scripting. An authenticated user, authorized to configure a Parameter Context, can enter arbitrary JavaScript code, which the client browser will execute within the session context of the authenticated user. Upgrading to Apache NiFi 1.27.0 or 2.0.0-M4 is the recommended mitigation.","dates":{"published":"2024-07-08T07:29:00.146Z","modified":"2024-09-13T17:04:52.641Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":5.4,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":5.4,"impact":4.2,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.24031,"percentile":0.97829,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.24031},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.24031,"percentile":0.97829}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.24031,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.24031,"percentile":0.97829}]},"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-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.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":"≥ 1.10.0, ≤ 1.26.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0-M1, ≤ 2.0.0-M3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.10.0, ≤ 1.26.0 | ≥ 2.0.0-M1, ≤ 2.0.0-M3","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":"≥ 1.10.0, < 1.27.0","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone1-rc1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone1-rc2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone1-rc3","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone1-rc4","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone1-rc5","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone1-rc6","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone2-rc1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone2-rc2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone2-rc3","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone2-rc4","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone3","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone3-rc1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.10.0, < 1.27.0 | 2.0.0:milestone1 | 2.0.0:milestone1-rc1 | 2.0.0:milestone1-rc2 | 2.0.0:milestone1-rc3 | 2.0.0:milestone1-rc4 | 2.0.0:milestone1-rc5 | 2.0.0:milestone1-rc6 | 2.0.0:milestone2 | 2.0.0:milestone2-rc1 | 2.0.0:milestone2-rc2 | 2.0.0:milestone2-rc3 | 2.0.0:milestone2-rc4 | 2.0.0:milestone3 | 2.0.0:milestone3-rc1","eol":{"isEol":true,"eolDate":"2024-12-23T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"2.0","label":"2.0","eolFrom":"2024-12-23T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"2.0.0"},"product":{"name":"apache-nifi","label":"Apache NiFi","category":"server-app"}},"hubHref":"/vendor/apache/nifi"},{"vendor":"chainguard","product":"apache-nifi","name":"apache-nifi","label":"apache-nifi","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/apache-nifi","purlType":"apk","versions":[{"text":"< 1.27.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.27.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"apache-nifi","name":"apache-nifi","label":"apache-nifi","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/apache-nifi","purlType":"apk","versions":[{"text":"< 1.27.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.27.0-r0","eol":null,"hubHref":null},{"vendor":"org.apache.nifi","product":"nifi-web-ui","name":"org.apache.nifi:nifi-web-ui","label":"nifi-web-ui","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.nifi/nifi-web-ui","purlType":"maven","versions":[{"text":"≥ 1.10.0, < 1.27.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0-M1, < 2.0.0-M4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.10.0, < 1.27.0 | ≥ 2.0.0-M1, < 2.0.0-M4","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh","label":"lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh","hostname":"lists.apache.org","tags":["Vendor Advisory","Advisory","WEB","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/08/1","label":"www.openwall.com/lists/oss-security/2024/07/08/1","hostname":"www.openwall.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37389.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37389.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37389","label":"nvd.nist.gov/vuln/detail/CVE-2024-37389","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/nifi/pull/8938","label":"github.com/apache/nifi/pull/8938","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/nifi/commit/1ea0bc1f7fa90ecff0ceb8b0c91a9aebeb05893b","label":"github.com/apache/nifi/commit/1ea0bc1f7fa90ecff0ceb8b0c91a9aebeb05893b","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/nifi","label":"github.com/apache/nifi","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://issues.apache.org/jira/browse/NIFI-13374","label":"issues.apache.org/jira/browse/NIFI-13374","hostname":"issues.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-8RR9-WW3C-5C97","CGA-PP96-54W2-3233"]},"timeline":[{"kind":"published","date":"2024-07-08T07:29:00.146Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-13T17:04:52.641Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:47:07.981Z","stale":false,"partial":false}}