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.
{
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "1.10.0"
},
{
"last_affected": "1.27.0"
},
{
"introduced": "2.0.0-M1"
},
{
"last_affected": "2.0.0-M3"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"introduced": "1.10.0"
},
{
"fixed": "1.27.0"
},
{
"introduced": "2.0.0-M1"
},
{
"fixed": "2.0.0-M3"
}
]
}
],
"cna_assigner": "apache",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45477.json"
}{
"cpe": [
"cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
"cpe:2.3:a:apache:nifi:2.0.0:milestone1:*:*:*:*:*:*",
"cpe:2.3:a:apache:nifi:2.0.0:milestone2:*:*:*:*:*:*",
"cpe:2.3:a:apache:nifi:2.0.0:milestone3:*:*:*:*:*:*"
],
"source": [
"CPE_RANGE",
"CPE_STRING"
],
"extracted_events": [
{
"introduced": "1.10.0"
},
{
"last_affected": "1.27.0"
},
{
"introduced": "2.0.0-milestone1"
},
{
"last_affected": "2.0.0-milestone1"
},
{
"introduced": "2.0.0-milestone2"
},
{
"last_affected": "2.0.0-milestone2"
},
{
"introduced": "2.0.0-milestone3"
},
{
"last_affected": "2.0.0-milestone3"
}
]
}