Medium

Apache NiFi vulnerable to Cross-site Scripting

  • Disclosed: 08.07.2024
  • Updated: 11.10.2026 13:20

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.nifi:nifi-web-ui >= 1.10.0, < 1.27.0, >= 2.0.0-M1, < 2.0.0-M4 1.27.0, 2.0.0-M4

References

CVSS score 5.4/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Java / Kotlin (Maven)
Package
org.apache.nifi:nifi-web-ui
Disclosed
08.07.2024
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-h658-qqv9-qwv8 - CC BY 4.0

Vulnerability history: org.apache.nifi:nifi-web-ui

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
07.2024 10.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 2

Disclosures per year

  1. 2024: 2
  2. 2025: 0
  3. 2026: 0
  1. Medium · 4.6 CVE-2024-45477 >= 1.10.0, < 1.28.0, >= 2.0.0-M1, < 2.0.0-M4 1.28.0, 2.0.0-M4
  2. Apache NiFi vulnerable to Cross-site Scripting this entry
    Medium · 5.4 CVE-2024-37389 >= 1.10.0, < 1.27.0, >= 2.0.0-M1, < 2.0.0-M4 1.27.0, 2.0.0-M4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.