{"id":"CVE-2024-37389","summary":"Apache NiFi: Improper Neutralization of Input in Parameter Context Description","details":"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.","aliases":["GHSA-h658-qqv9-qwv8"],"modified":"2026-10-28T02:30:46.078780251Z","published":"2024-07-08T07:29:00.146Z","database_specific":{"cna_assigner":"apache","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37389.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"1.10.0"},{"last_affected":"1.26.0"},{"introduced":"2.0.0-M1"},{"last_affected":"2.0.0-M3"}],"source":"AFFECTED_FIELD"}]}]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/07/08/1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37389.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37389"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/nifi","events":[{"introduced":"b217ae20ad6a04cac874b2b00d93b7f7514c0b88"},{"fixed":"e0c4461d90bd4f6e5f2b81765bcff5cd97ed3e18"},{"introduced":"49fa0d86746f544e294b4ba04b2795d426ba0271"},{"last_affected":"f2215c6522a5571189290760c55f0317f8562cbd"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*","range":[{"introduced":"1.10.0"},{"fixed":"1.27.0"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone1:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone1"},{"last_affected":"2.0.0-milestone1"}]},{"cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc6:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone1\\-rc6"},{"last_affected":"2.0.0-milestone1\\-rc6"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc1:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone1\\-rc1"},{"last_affected":"2.0.0-milestone1\\-rc1"}]},{"range":[{"introduced":"2.0.0-milestone1\\-rc2"},{"last_affected":"2.0.0-milestone1\\-rc2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc2:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc3:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone1\\-rc3"},{"last_affected":"2.0.0-milestone1\\-rc3"}],"source":"CPE_STRING"},{"range":[{"introduced":"2.0.0-milestone1\\-rc4"},{"last_affected":"2.0.0-milestone1\\-rc4"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc4:*:*:*:*:*:*"},{"range":[{"introduced":"2.0.0-milestone1\\-rc5"},{"last_affected":"2.0.0-milestone1\\-rc5"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc5:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone2:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone2"},{"last_affected":"2.0.0-milestone2"}]},{"cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone2-rc4:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone2\\-rc4"},{"last_affected":"2.0.0-milestone2\\-rc4"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone2-rc1:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone2\\-rc1"},{"last_affected":"2.0.0-milestone2\\-rc1"}]},{"range":[{"introduced":"2.0.0-milestone2\\-rc2"},{"last_affected":"2.0.0-milestone2\\-rc2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone2-rc2:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone2-rc3:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone2\\-rc3"},{"last_affected":"2.0.0-milestone2\\-rc3"}],"source":"CPE_STRING"},{"cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone3:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone3"},{"last_affected":"2.0.0-milestone3"}],"source":"CPE_STRING"},{"cpe":"cpe:2.3:a:apache:nifi:2.0.0:milestone3-rc1:*:*:*:*:*:*","range":[{"introduced":"2.0.0-milestone3\\-rc1"},{"last_affected":"2.0.0-milestone3\\-rc1"}],"source":"CPE_STRING"}]}}],"versions":["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-milestone2","2.0.0-milestone2\\-rc1","2.0.0-milestone2\\-rc2","2.0.0-milestone2\\-rc3","2.0.0-milestone3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37389.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}