Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.nifi/nifi-web-ui
  4. ›
  5. CVE-2024-37389

CVE-2024-37389: Apache NiFi vulnerable to Cross-site Scripting

July 8, 2024

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.

References

  • github.com/advisories/GHSA-h658-qqv9-qwv8
  • github.com/apache/nifi
  • github.com/apache/nifi/commit/1ea0bc1f7fa90ecff0ceb8b0c91a9aebeb05893b
  • github.com/apache/nifi/pull/8938
  • issues.apache.org/jira/browse/NIFI-13374
  • lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh
  • nvd.nist.gov/vuln/detail/CVE-2024-37389

Code Behaviors & Features

Detect and mitigate CVE-2024-37389 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.10.0 before 1.27.0, all versions starting from 2.0.0-M1 before 2.0.0-M4

Fixed versions

  • 1.27.0
  • 2.0.0-M4

Solution

Upgrade to versions 1.27.0, 2.0.0-M4 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.apache.nifi/nifi-web-ui/CVE-2024-37389.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:27 +0000.