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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache NiFi | 1.10.0 – ≤ 1.27.0, 2.0.0-M1 – ≤ 2.0.0-M3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.nifi:nifi-web-ui | >= 1.10.0, < 1.28.0 | 1.28.0 | GHSA-7mqj-xgf8-p59v |
| Maven | org.apache.nifi:nifi-web-ui | >= 2.0.0-M1, < 2.0.0-M4 | 2.0.0-M4 | GHSA-7mqj-xgf8-p59v |
Advisories 1
- WID-SEC-2024-3293 Apache Nifi: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · Oct 28, 2024
References
- https://lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9 vendor-advisory