CVE-2024-37389
MEDIUM 5.4CVSS 3.1Apache NiFi vulnerable to Cross-site Scripting
Apache NiFi 1.10.0 through 1.26.0 and 2.0.0-M1 through 2.0.0-M3 support a description field in the 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.27.0 or 2.0.0-M4 is the recommended mitigation.
- Published
- 8 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-h658-qqv9-qwv8
- Sources
- NVDJSONOSV GHSA-h658-qqv9-qwv8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A: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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | nificpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:* |
>= 1.10.0, < 1.27.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:milestone1-rc1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone1-rc2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone1-rc3:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone1-rc4:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone1-rc5:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone1-rc6:*:*:*:*:*:* |
= 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:milestone2-rc1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone2-rc2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone2-rc3:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone2-rc4:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone3:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | nificpe:2.3:a:apache:nifi:2.0.0:milestone3-rc1:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Maven | org.apache.nifi:nifi-web-ui | >= 1.10.0, < 1.27.0 | 1.27.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/yso9fr0wtff53nk046h1o83hdyb1lrxh · Mailing List, WEB
- http://www.openwall.com/lists/oss-security/2024/07/08/1
- https://nvd.nist.gov/vuln/detail/CVE-2024-37389 · ADVISORY
- https://github.com/apache/nifi/pull/8938 · WEB
- https://github.com/apache/nifi/commit/1ea0bc1f7fa90ecff0ceb8b0c91a9aebeb05893b · WEB
- https://github.com/apache/nifi · PACKAGE
- https://issues.apache.org/jira/browse/NIFI-13374 · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 8 Jul 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jul 2024)