CVE-2024-45477
Apache NiFi: Improper Neutralization of Input in Parameter Description
Also known as BIT-nifi-2024-45477, GHSA-7mqj-xgf8-p59v
Mitigation
- Upgrade org.apache.nifi:nifi-web-ui to one of 1.28.0, 2.0.0-M4 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.nifi:nifi-web-ui (>= 1.10.0, < 1.28.0)
- Anyone running Apache Software Foundation Apache NiFi >= 1.10.0, <= 1.27.0; >= 2.0.0-M1, <= 2.0.0-M3
Vulnerability facts
- Affected
- org.apache.nifi:nifi-web-ui >= 1.10.0, < 1.28.0
- Fixed in
- 1.28.0, 2.0.0-M4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.15% chance of exploitation in 30 days (percentile 67, 2026-11-26)
- CWE
- CWE-79
- Modified
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 Apache NiFi 1.28.0 or 2.0.0-M4 is the recommended mitigation.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.nifi:nifi-web-ui | >= 1.10.0, < 1.28.0 | 1.28.0, 2.0.0-M4 | osv |
| Apache Software Foundation Apache NiFi | >= 1.10.0, <= 1.27.0; >= 2.0.0-M1, <= 2.0.0-M3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-45477. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-45477.md Affected: org.apache.nifi:nifi-web-ui >= 1.10.0, < 1.28.0 Fixed in: 1.28.0, 2.0.0-M4 Steps: 1. Search this machine and project for org.apache.nifi:nifi-web-ui (Maven), Apache Software Foundation Apache NiFi: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- http://www.openwall.com/lists/oss-security/2024/10/28/1
- https://github.com/apache/nifi
- 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
- https://issues.apache.org/jira/browse/NIFI-13675
- https://nifi.apache.org/documentation/security/#CVE-2024-45477
FAQ
Is CVE-2024-45477 being exploited?
There is no confirmed exploitation: CVE-2024-45477 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-45477?
Medium: CVSS 4.6 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-45477?
org.apache.nifi:nifi-web-ui >= 1.10.0, < 1.28.0.
Is there a fix for CVE-2024-45477?
Yes. Fixed in 1.28.0, 2.0.0-M4. Upgrade org.apache.nifi:nifi-web-ui to one of 1.28.0, 2.0.0-M4 (or later in the same release line).
How do I check if I'm affected by CVE-2024-45477?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.