{"id":"GHSA-h658-qqv9-qwv8","summary":"Apache NiFi vulnerable to Cross-site Scripting","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":["CVE-2024-37389"],"modified":"2026-09-10T03:50:16.825746587Z","published":"2024-07-08T09:32:22Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-07-08T14:59:48Z","nvd_published_at":"2024-07-08T08:15:10Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37389"},{"type":"WEB","url":"https://github.com/apache/nifi/pull/8938"},{"type":"WEB","url":"https://github.com/apache/nifi/commit/1ea0bc1f7fa90ecff0ceb8b0c91a9aebeb05893b"},{"type":"PACKAGE","url":"https://github.com/apache/nifi"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/NIFI-13374"},{"type":"WEB","url":"https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh"}],"affected":[{"package":{"name":"org.apache.nifi:nifi-web-ui","ecosystem":"Maven","purl":"pkg:maven/org.apache.nifi/nifi-web-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.10.0"},{"fixed":"1.27.0"}]}],"versions":["1.10.0","1.11.0","1.11.1","1.11.2","1.11.3","1.11.4","1.12.0","1.12.1","1.13.0","1.13.1","1.13.2","1.14.0","1.15.0","1.15.1","1.15.2","1.15.3","1.16.0","1.16.1","1.16.2","1.16.3","1.17.0","1.18.0","1.19.0","1.19.1","1.20.0","1.21.0","1.22.0","1.23.0","1.23.1","1.23.2","1.24.0","1.25.0","1.26.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-h658-qqv9-qwv8/GHSA-h658-qqv9-qwv8.json"}},{"package":{"name":"org.apache.nifi:nifi-web-ui","ecosystem":"Maven","purl":"pkg:maven/org.apache.nifi/nifi-web-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-M1"},{"fixed":"2.0.0-M4"}]}],"versions":["2.0.0-M1","2.0.0-M2","2.0.0-M3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-h658-qqv9-qwv8/GHSA-h658-qqv9-qwv8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}