Vulnerability · Published Oct 29, 2024 · Assigned by apache

CVE-2024-45477Apache NiFi: Improper Neutralization of Input in Parameter Description

Medium 4.6

In plain English

A medium-severity cross-site scripting in Apache NiFi from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)0.8%top 44.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.nifi:nifi-web-ui1.28.0GHSA-7mqj-xgf8-p59v
Mavenorg.apache.nifi:nifi-web-ui2.0.0-M4GHSA-7mqj-xgf8-p59v

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache NiFi 1.10.0 – through 1.27.02.0.0-M1 – through 2.0.0-M3

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

References