apache/nifi · Security
Apache NiFi vulnerable to Cross-site Scripting
- GHSA ID
- GHSA-h658-qqv9-qwv8
- CVE ID
- CVE-2024-37389
- Severity
- medium
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS v4
- 5.3 · 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
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-37389 ↗
- https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh ↗
- https://github.com/apache/nifi/pull/8938 ↗
- https://github.com/apache/nifi/commit/1ea0bc1f7fa90ecff0ceb8b0c91a9aebeb05893b ↗
- https://issues.apache.org/jira/browse/NIFI-13374 ↗
- https://github.com/advisories/GHSA-h658-qqv9-qwv8 ↗