{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-45477","id":"CVE-2024-45477","title":"Apache NiFi: Improper Neutralization of Input in Parameter Description","description":"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 Ap","descriptionLong":"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","updated":"2026-10-28T02:31:13.701801776Z","reserved":"2024-08-29T13:22:14.173Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"apache"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"apache"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"apache.org"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Apache Software Foundation Apache NiFi"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache NiFi","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"1.27.0","status":"affected","version":"1.10.0","versionType":"semver"},{"lessThanOrEqual":"2.0.0-M3","status":"affected","version":"2.0.0-M1","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.nifi:nifi-web-ui","purl":"pkg:maven/org.apache.nifi/nifi-web-ui","ranges":[">=1.10.0 <1.28.0",">=2.0.0-M1 <2.0.0-M4"],"fixed":["1.28.0","2.0.0-M4"],"advisory":"GHSA-7mqj-xgf8-p59v"}],"cwes":["CWE-79"],"aliases":["BIT-nifi-2024-45477","GHSA-7mqj-xgf8-p59v"],"references":[{"url":"https://lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9","tags":["vendor-advisory","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/10/28/1","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45477.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45477","tags":["advisory"]},{"url":"https://github.com/apache/nifi/pull/9195","tags":["web"]},{"url":"https://github.com/apache/nifi/commit/153c87a7daaeebea9b119066285b840ea4056e09","tags":["web"]},{"url":"https://github.com/apache/nifi","tags":["package"]},{"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"]},{"url":"https://issues.apache.org/jira/browse/NIFI-13675","tags":["web"]},{"url":"https://nifi.apache.org/documentation/security/#CVE-2024-45477","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0075,"epssPercentile":0.55685,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-45477","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45477","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-45477","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7mqj-xgf8-p59v","ok":true,"note":"GHSA-7mqj-xgf8-p59v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-45477","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}