CVE-2024-45477
MEDIUM 4.6CVSS 3.1Apache NiFi Cross-site Scripting vulnerability
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
- 29 Oct 2024
- Last modified
- 4 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-nifi-2024-45477GHSA-7mqj-xgf8-p59v
- Sources
- NVDJSONOSV GHSA-7mqj-xgf8-p59vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | security@apache.org (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | nificpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:* |
>= 1.10.0, <= 1.27.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone3:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Maven | org.apache.nifi:nifi-web-ui | >= 1.10.0, < 1.28.0 | 1.28.0 |
| OSV | Maven | org.apache.nifi:nifi-web-ui | >= 2.0.0-M1, < 2.0.0-M4 | 2.0.0-M4 |
References
- https://lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9 · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2024/10/28/1
- https://nvd.nist.gov/vuln/detail/CVE-2024-45477 · ADVISORY
- https://github.com/apache/nifi/pull/9195 · WEB
- https://github.com/apache/nifi/commit/153c87a7daaeebea9b119066285b840ea4056e09 · WEB
- https://github.com/apache/nifi · PACKAGE
- 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 · WEB
- https://issues.apache.org/jira/browse/NIFI-13675 · WEB
- https://nifi.apache.org/documentation/security/#CVE-2024-45477 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Oct 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Oct 2024)