Apache NiFi: Improper Neutralization of Input in Parameter Context 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-37389
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:36 UTC · Revision 1
Source evidence
Apache NiFi: Improper Neutralization of Input in Parameter Context Description
core-osv · Original sourcePublished 8 Jul 2024, 07:29 UTC
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.
osv:CVE-2024-37389
Complete source record
{
"id": "07fdf2b5febe446149ebce4fdcb88b3740da0c2b23a325f2a153f6b159b5c8c6",
"url": "https://osv.dev/vulnerability/CVE-2024-37389",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache NiFi: Improper Neutralization of Input in Parameter Context Description",
"summary": "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.",
"evidence": "osv:CVE-2024-37389",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-37389",
"aliases": [
"CVE-2024-37389",
"GHSA-h658-qqv9-qwv8"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/nifi",
"type": "GIT",
"events": [
{
"introduced": "b217ae20ad6a04cac874b2b00d93b7f7514c0b88"
},
{
"fixed": "e0c4461d90bd4f6e5f2b81765bcff5cd97ed3e18"
},
{
"introduced": "49fa0d86746f544e294b4ba04b2795d426ba0271"
},
{
"last_affected": "f2215c6522a5571189290760c55f0317f8562cbd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.10.0"
},
{
"fixed": "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:milestone1-rc6:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone1\\-rc6"
},
{
"last_affected": "2.0.0-milestone1\\-rc6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone1\\-rc1"
},
{
"last_affected": "2.0.0-milestone1\\-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc2:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone1\\-rc2"
},
{
"last_affected": "2.0.0-milestone1\\-rc2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc3:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone1\\-rc3"
},
{
"last_affected": "2.0.0-milestone1\\-rc3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc4:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone1\\-rc4"
},
{
"last_affected": "2.0.0-milestone1\\-rc4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone1-rc5:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone1\\-rc5"
},
{
"last_affected": "2.0.0-milestone1\\-rc5"
}
],
"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:milestone2-rc4:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone2\\-rc4"
},
{
"last_affected": "2.0.0-milestone2\\-rc4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone2-rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone2\\-rc1"
},
{
"last_affected": "2.0.0-milestone2\\-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone2-rc2:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone2\\-rc2"
},
{
"last_affected": "2.0.0-milestone2\\-rc2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone2-rc3:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone2\\-rc3"
},
{
"last_affected": "2.0.0-milestone2\\-rc3"
}
],
"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"
},
{
"cpe": "cpe:2.3:a:apache:nifi:2.0.0:milestone3-rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-milestone3\\-rc1"
},
{
"last_affected": "2.0.0-milestone3\\-rc1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.0.0-milestone1",
"2.0.0-milestone1\\-rc1",
"2.0.0-milestone1\\-rc2",
"2.0.0-milestone1\\-rc3",
"2.0.0-milestone1\\-rc4",
"2.0.0-milestone1\\-rc5",
"2.0.0-milestone2",
"2.0.0-milestone2\\-rc1",
"2.0.0-milestone2\\-rc2",
"2.0.0-milestone2\\-rc3",
"2.0.0-milestone3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37389.json"
}
}
],
"modified": "2026-10-28T02:30:46.078780251Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37389.json",
"https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh",
"https://nvd.nist.gov/vuln/detail/CVE-2024-37389"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "1.10.0"
},
{
"last_affected": "1.26.0"
},
{
"introduced": "2.0.0-M1"
},
{
"last_affected": "2.0.0-M3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37389.json"
}
},
"related_cves": [
{
"value": "CVE-2024-37389",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514332,
"published_at": "2024-07-08T07:29:00.146+00:00"
}