{"id":"CVE-2024-37389","state":"PUBLISHED","title":"Apache NiFi: Improper Neutralization of Input in Parameter Context Description","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.","publishedAt":"2024-07-08T07:29:00.146Z","updatedAt":"2024-09-13T17:04:52.641Z","severity":{"score":4.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"apache"},"assigner":"apache","products":["Apache Software Foundation Apache NiFi"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache NiFi","packageName":"org.apache.nifi:nifi-web-ui","defaultStatus":"unaffected","versions":[{"version":"1.10.0","status":"affected","lessThanOrEqual":"1.26.0","versionType":"semver"},{"version":"2.0.0-M1","status":"affected","lessThanOrEqual":"2.0.0-M3","versionType":"semver"}]}],"references":["https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh","http://www.openwall.com/lists/oss-security/2024/07/08/1"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/37xxx/CVE-2024-37389.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-37389","state":"PUBLISHED","datePublished":"2024-07-08T07:29:00.146Z","dateUpdated":"2024-09-13T17:04:52.641Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2024-06-07T21:09:31.675Z"},"containers":{"cna":{"title":"Apache NiFi: Improper Neutralization of Input in Parameter Context Description","descriptions":[{"lang":"en","value":"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":[{"vendor":"Apache Software Foundation","product":"Apache NiFi","packageName":"org.apache.nifi:nifi-web-ui","defaultStatus":"unaffected","versions":[{"version":"1.10.0","status":"affected","lessThanOrEqual":"1.26.0","versionType":"semver"},{"version":"2.0.0-M1","status":"affected","lessThanOrEqual":"2.0.0-M3","versionType":"semver"}]}],"references":[{"url":"https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2024-07-08T07:29:00.146Z"},"credits":[{"lang":"en","type":"finder","value":"Akbar Kustirama"}],"source":{"defect":["NIFI-13374"],"discovery":"EXTERNAL"},"timeline":[{"lang":"en","time":"2024-06-07T11:15:00.000Z","value":"reported"},{"lang":"en","time":"2024-06-07T12:00:00.000Z","value":"confirmed"},{"lang":"en","time":"2024-06-07T13:45:00.000Z","value":"resolved"}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-08T13:38:24.193311Z","id":"CVE-2024-37389","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-08T13:39:29.650Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/yso9fr0wtff53nk046h1o83hdyb1lrxh","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/08/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-09-13T17:04:52.641Z"}}]}}}