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