ADVISORIES

GitHub Advisory Database

GHSA-h658-qqv9-qwv8

Apache NiFi vulnerable to Cross-site Scripting

Moderate CVE-2024-37389

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.apache.nifi:nifi-web-ui
From 1.10.0 before 1.27.0 (fixed in 1.27.0)
Mavenorg.apache.nifi:nifi-web-ui
From 2.0.0-M1 before 2.0.0-M4 (fixed in 2.0.0-M4)

References