CVE-2024-37389
JSON

4.6medium

Apache NiFi: Improper Neutralization of Input in Parameter Context Description

Severity
4.6medium CVSS:3.1 by apache
Exploit likelihood
24.0% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-h658-qqv9-qwv8

Description

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

Product or packageVersionsReported by
org.apache.nifi:nifi-web-uifrom 1.10.0 up to 1.26.0, from 2.0.0-M1 up to 2.0.0-M3CVE List
org.apache.nifi:nifi-web-ui (Maven)from 1.10.0 before 1.27.0, from 2.0.0-M1 before 2.0.0-M4GitHub Advisory Database
apache nififrom 1.10.0 before 1.27.0, 2.0.0NVD

All scores

apache4.6medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Apache NiFi 1.10.0 a 1.26.0 y 2.0.0-M1 a 2.0.0-M3 admiten un campo de descripción en la configuración del contexto de parámetros que es vulnerable a Cross site Scripting. Un usuario autenticado, autorizado para configurar un contexto de parámetro, puede ingresar código JavaScript arbitrario, que el navegador del cliente ejecutará dentro del contexto de sesión del usuario autenticado. La mitigación recomendada es actualizar a Apache NiFi 1.27.0 o 2.0.0-M4.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-37389 changed 2024-09-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-h658-qqv9-qwv8 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-37389 changed 2026-06-17Public domain