XSS in Apache Nifi

CVE-2024-45477

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.006 (47.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.6 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-45477?
CVE-2024-45477 is a medium-severity vulnerability in Apache Nifi, classified under Cross-site Scripting. CVSS score: 4.6/10. Published 2024-10-29.
How severe is CVE-2024-45477?
Medium severity. CVSS v3 base score is 4.6 out of 10.