{"id":"CVE-2024-45477","aliases":["BIT-nifi-2024-45477","GHSA-7mqj-xgf8-p59v"],"url":"https://o3.security/vulnerability/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.","published":"2024-10-29T09:00:08.387Z","modified":"2026-09-04T11:55:23.371201366Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.nifi:nifi-web-ui","fixedVersion":"1.28.0"},{"ecosystem":"Maven","name":"org.apache.nifi:nifi-web-ui","fixedVersion":"2.0.0-M4"}],"fix":{"url":"https://github.com/apache/nifi/pull/9195","label":"apache/nifi#9195"},"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"},{"type":"WEB","url":"https://github.com/apache/nifi/pull/9195"},{"type":"WEB","url":"https://github.com/apache/nifi/commit/153c87a7daaeebea9b119066285b840ea4056e09"},{"type":"PACKAGE","url":"https://github.com/apache/nifi"},{"type":"WEB","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"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/NIFI-13675"},{"type":"WEB","url":"https://nifi.apache.org/documentation/security/#CVE-2024-45477"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-04T11:55:23.371201366Z"}}