VDB
Sign up
MEDIUM4.6

GHSA-7mqj-xgf8-p59v

Apache NiFi Cross-site Scripting vulnerability

Quick fix

GHSA-7mqj-xgf8-p59v — org.apache.nifi:nifi-web-ui: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.28.0</version> for org.apache.nifi:nifi-web-ui

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.nifi:nifi-web-ui
Introduced in: 1.10.0Fixed in: 1.28.0
Fix# pom.xml: bump <version>1.28.0</version> for org.apache.nifi:nifi-web-ui
Maven/org.apache.nifi:nifi-web-ui
Introduced in: 2.0.0-M1Fixed in: 2.0.0-M4
Fix# pom.xml: bump <version>2.0.0-M4</version> for org.apache.nifi:nifi-web-ui

References