{"id":"CVE-2024-45477","aliases":["CVE-2024-45477","GHSA-7mqj-xgf8-p59v","BIT-NIFI-2024-45477"],"related":[],"kind":"vulnerability","state":"published","title":"Apache NiFi: Improper Neutralization of Input in Parameter Description","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Apache NiFi 1.10.0 a 1.27.0 y 2.0.0-M1 a 2.0.0-M3 admiten un campo de descripción para los parámetros en una configuración de contexto de parámetros que es vulnerable a cross-site scripting. Un usuario autenticado, autorizado para configurar un contexto de parámetros, puede ingresar código JavaScript arbitrario, que el navegador del cliente ejecutará dentro del contexto de sesión del usuario autenticado. La actualización a Apache NiFi 1.28.0 o 2.0.0-M4 es la mitigación recomendada.","source":"nvd"},{"lang":"en","text":"Apache NiFi 1.10.0 through 1.27.0 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 higher is the recommended mitigation.","format":"markdown","source":"bitnami"}],"published":"2024-10-29T09:00:08.387Z","modified":"2026-09-08T08:48:17.133Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"1.10.0","lastAffected":"1.27.0","status":"affected"},{"type":"semver","introduced":"2.0.0-M1","lastAffected":"2.0.0-M3","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache NiFi","package":"org.apache.nifi:nifi-web-ui","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.10.0","status":"affected","fixed":"1.28.0"}],"ecosystem":"Maven","package":"org.apache.nifi:nifi-web-ui","purl":"pkg:maven/org.apache.nifi/nifi-web-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0-M1","status":"affected","fixed":"2.0.0-M4"}],"ecosystem":"Maven","package":"org.apache.nifi:nifi-web-ui","purl":"pkg:maven/org.apache.nifi/nifi-web-ui","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.10.0","lastAffected":"1.27.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"}],"vendor":"apache","product":"nifi","cpe":"cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.28.0"}],"ecosystem":"Bitnami","package":"nifi","purl":"pkg:bitnami/nifi","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/10/28/1","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45477","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/nifi/pull/9195","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/nifi/commit/153c87a7daaeebea9b119066285b840ea4056e09","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/nifi","tags":["package"],"sources":["ghsa"]},{"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","tags":["web"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/NIFI-13675","tags":["web"],"sources":["ghsa"]},{"url":"https://nifi.apache.org/documentation/security/#CVE-2024-45477","tags":["web"],"sources":["ghsa"]}],"credits":["Muhammad Hazim Bin Nor Aizi"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-29T14:36:50.592Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45477","url":"https://www.cve.org/CVERecord?id=CVE-2024-45477","licence":"CVE Terms of Use","modified":"2024-10-29T14:51:54.639Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7mqj-xgf8-p59v","url":"https://github.com/advisories/GHSA-7mqj-xgf8-p59v","licence":"CC-BY-4.0","modified":"2026-09-04T11:55:23.371Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45477","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45477","licence":"Public domain","modified":"2026-06-17T07:54:17.283Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NIFI-2024-45477","url":"https://osv.dev/vulnerability/BIT-NIFI-2024-45477","licence":"Apache-2.0","modified":"2026-09-08T08:48:17.133Z"}],"updatedAt":"2026-11-25T22:58:47.456Z","epss":{"score":0.0075,"percentile":0.56211,"date":"2026-12-02T12:00:21.000Z"}}