{"id":"CVE-2024-45477","summary":"Apache NiFi: Improper Neutralization of Input in Parameter Description","details":"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.","aliases":["BIT-nifi-2024-45477","GHSA-7mqj-xgf8-p59v"],"modified":"2026-09-04T11:55:23.371201366Z","published":"2024-10-29T09:00:08.387Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45477.json","unresolved_ranges":[{"extracted_events":[{"introduced":"1.10.0"},{"last_affected":"1.27.0"},{"introduced":"2.0.0-M1"},{"last_affected":"2.0.0-M3"}],"source":"AFFECTED_FIELD"},{"source":"DESCRIPTION","extracted_events":[{"introduced":"1.10.0"},{"fixed":"1.27.0"},{"introduced":"2.0.0-M1"},{"fixed":"2.0.0-M3"}]}],"cna_assigner":"apache"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/10/28/1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45477.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45477"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/nifi","events":[{"introduced":"b217ae20ad6a04cac874b2b00d93b7f7514c0b88"},{"last_affected":"e0c4461d90bd4f6e5f2b81765bcff5cd97ed3e18"},{"introduced":"49fa0d86746f544e294b4ba04b2795d426ba0271"},{"last_affected":"f2215c6522a5571189290760c55f0317f8562cbd"}],"database_specific":{"extracted_events":[{"introduced":"1.10.0"},{"last_affected":"1.27.0"},{"introduced":"2.0.0-milestone1"},{"last_affected":"2.0.0-milestone1"},{"introduced":"2.0.0-milestone2"},{"last_affected":"2.0.0-milestone2"},{"introduced":"2.0.0-milestone3"},{"last_affected":"2.0.0-milestone3"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*","cpe:2.3:a:apache:nifi:2.0.0:milestone1:*:*:*:*:*:*","cpe:2.3:a:apache:nifi:2.0.0:milestone2:*:*:*:*:*:*","cpe:2.3:a:apache:nifi:2.0.0:milestone3:*:*:*:*:*:*"]}}],"versions":["2.0.0-milestone1","2.0.0-milestone2","2.0.0-milestone3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45477.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}