GitHub Advisoryadvisory · Maven
GHSA-7mqj-xgf8-p59v Apache NiFi Cross-site Scripting vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2024-45477
- Ecosystem
- Maven
- Packages
- org.apache.nifi:nifi-web-ui
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-10-29
Affected packages
• Maven org.apache.nifi:nifi-web-ui: >= 1.10.0, < 1.28.0 → fixed in 1.28.0
• Maven org.apache.nifi:nifi-web-ui: >= 2.0.0-M1, < 2.0.0-M4 → fixed in 2.0.0-M4
Description
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.
Related
Alias · CVE (1)
- CVE-2024-45477 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… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45477 advisory
- https://github.com/apache/nifi/pull/9195 web
- https://github.com/apache/nifi/commit/153c87a7daaeebea9b119066285b840ea4056e09 web
- https://github.com/apache/nifi package
- https://github.com/apache/nifi/blob/rel/nifi-1.27.0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js#L2197 web
- https://issues.apache.org/jira/browse/NIFI-13675 web
- https://lists.apache.org/thread/shdv0tw9hggj7tx9pl7g93mgok2lwbj9 web
- https://nifi.apache.org/documentation/security/#CVE-2024-45477 web