Description
Apache NiFi 0.7.0 through 1.23.2 include the JoltTransformJSON Processor, which provides an advanced configuration user interface that is vulnerable to DOM-based cross-site scripting. If an authenticated user, who is authorized to configure a JoltTransformJSON Processor, visits a crafted URL, then arbitrary JavaScript code can be executed within the session context of the authenticated user. Upgrading to Apache NiFi 1.24.0 or 2.0.0-M1 is the recommended mitigation.
Remediation
References
http://www.openwall.com/lists/oss-security/2023/11/27/5
https://lists.apache.org/thread/j8rd0qsvgoj0khqck5f49jfbp0fm8r1o
https://nifi.apache.org/security.html#CVE-2023-49145
Related Vulnerabilities
CVE-2021-46708 Vulnerability in maven package com.microfocus.webjars:swagger-ui-dist
CVE-2020-15092 Vulnerability in npm package @knight-lab/timelinejs
CVE-2023-40037 Vulnerability in maven package org.apache.nifi:nifi-hikari-dbcp-service
CVE-2020-2138 Vulnerability in maven package org.jenkins-ci.plugins:cobertura
CVE-2019-10806 Vulnerability in maven package org.webjars.npm:vega-util