{"schemaVersion":3,"id":"CVE-2024-45477","aliases":["GHSA-7mqj-xgf8-p59v","BIT-nifi-2024-45477"],"status":"published","duplicateOf":null,"title":null,"description":"Apache NiFi 1.10.0 through 1.27.0 and 2.0.0-M1 through 2.0.0-M3 support a description field for Parameters in a 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.28.0 or 2.0.0-M4 is the recommended mitigation.","dates":{"published":"2024-10-29T09:00:08.387Z","modified":"2024-10-29T14:51:54.639Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/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":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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":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":"NVD","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}]},"epss":{"probability":0.00744,"percentile":0.53922,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.04200000000000002,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00702},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00744,"percentile":0.53922}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00702,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00744,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00744,"percentile":0.53922}]},"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.27.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0-M1, ≤ 2.0.0-M3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.10.0, ≤ 1.27.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:milestone2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:milestone3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.10.0, ≤ 1.27.0 | 2.0.0:milestone1 | 2.0.0:milestone2 | 2.0.0:milestone3","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":"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.28.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0-M1, < 2.0.0-M4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.10.0, < 1.28.0 | ≥ 2.0.0-M1, < 2.0.0-M4","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9","label":"lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2024/10/28/1","label":"www.openwall.com/lists/oss-security/2024/10/28/1","hostname":"www.openwall.com","tags":[]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45477","label":"nvd.nist.gov/vuln/detail/CVE-2024-45477","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/nifi/pull/9195","label":"github.com/apache/nifi/pull/9195","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/nifi/commit/153c87a7daaeebea9b119066285b840ea4056e09","label":"github.com/apache/nifi/commit/153c87a7daaeebea9b119066285b840ea4056e09","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/nifi","label":"github.com/apache/nifi","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/apache/nifi/blob/rel/nifi-1.27.0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js#L2197","label":"github.com/apache/…","hostname":"github.com","tags":["WEB"]},{"url":"https://issues.apache.org/jira/browse/NIFI-13675","label":"issues.apache.org/jira/browse/NIFI-13675","hostname":"issues.apache.org","tags":["WEB"]},{"url":"https://nifi.apache.org/documentation/security/#CVE-2024-45477","label":"nifi.apache.org/documentation/security/","hostname":"nifi.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-10-29T09:00:08.387Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-29T14:51:54.639Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:05:58.733Z","stale":false,"partial":false}}