CVE-2022-29265
Java vulnerability analysis and mitigation

Overview

Multiple components in Apache NiFi versions 0.0.1 to 1.16.0 were identified with a vulnerability related to XML External Entity (XXE) references in the default configuration. This vulnerability was discovered and disclosed on April 29, 2022, affecting the Standard Content Viewer service and multiple processors including EvaluateXPath, EvaluateXQuery, and ValidateXml (Apache NiFi Security, NVD).

Technical details

The vulnerability is classified under CWE-611 and involves improper restriction of XML External Entity references. The Standard Content Viewer service would attempt to resolve XML External Entity references when viewing formatted XML files. Additionally, several processors (EvaluateXPath, EvaluateXQuery, and ValidateXml) would attempt to resolve XML External Entity references when configured with default property values (NVD).

Impact

Apache NiFi flow configurations that include the affected processors are vulnerable to malicious XML documents containing Document Type Declarations with XML External Entity references. This could potentially lead to information disclosure, server-side request forgery, or denial of service attacks (Apache NiFi Security).

Mitigation and workarounds

The vulnerability was fixed in Apache NiFi version 1.16.1. The resolution disables Document Type Declarations in the default configuration for the affected processors and disallows XML External Entity resolution in standard services. Users running affected versions should upgrade to version 1.16.1 or later (Apache NiFi Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • tika
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management