Wiz Agents & Workflows are here

CVE-2025-30220
Java vulnerability analysis and mitigation

Overview

GeoTools Schema class use of Eclipse XSD library to represent schema data structure was discovered to be vulnerable to XML External Entity (XXE) exploitation (CVE-2025-30220). The vulnerability was disclosed on June 10, 2025, affecting GeoServer versions prior to 2.27.1, 2.26.3, and 2.25.7, GeoTools versions prior to 33.1, 32.3, 31.7, and 28.6.1, and GeoNetwork versions 4.4.0 through 4.4.7 and 4.2.0 through 4.2.12 (GeoTools Advisory, GeoServer Advisory).

Technical details

The vulnerability stems from the gt-xsd-core Schemas class not utilizing the EntityResolver provided by the ParserHandler. While direct entity resolution is managed by application property ENTITYRESOLUTIONALLOWLIST for XML Parsing, this restriction was not being used by the GeoTools library when building an in-memory XSD Library Schema representation, bypassing GeoServer's AllowListEntityResolver. The vulnerability has been assigned a CVSS v3.1 score of 9.9 (Critical) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L (GeoTools Advisory).

Impact

The vulnerability allows unauthenticated attackers to perform XML External Entity (XXE) processing attacks, enabling Out-of-Band (OOB) data exfiltration of local files accessible by the GeoServer process and Service Side Request Forgery (SSRF). This can lead to exposure of sensitive information including configuration files, credentials, and system files. The attack can be performed remotely without authentication, making it particularly severe (GeoServer Advisory).

Mitigation and workarounds

The vulnerability has been fixed in GeoTools versions 33.1, 32.3, 31.7, and 28.6.1, corresponding to GeoServer versions 2.27.1, 2.26.3, and 2.25.7, and GeoNetwork versions 4.4.8 and 4.2.13. For systems that cannot immediately update, administrators can configure external entity resolution restrictions using the ENTITYRESOLUTIONALLOWLIST property. For GeoNetwork users, a workaround is available by removing the gn-wfsfeature-harvester and gn-camelPeriodicProducer jars, which will disable the WFS Index functionality (GeoTools Advisory, GeoServer Advisory).

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-2026-34361CRITICAL9.3
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation
NoYesMar 30, 2026
CVE-2026-34214HIGH7.7
  • JavaJava
  • trino
NoYesMar 29, 2026
CVE-2026-34359HIGH7.4
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.core
NoYesMar 30, 2026
CVE-2026-34237MEDIUM6.1
  • JavaJava
  • io.modelcontextprotocol.sdk:mcp-core
NoYesMar 30, 2026
CVE-2026-34360MEDIUM5.8
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.core
NoYesMar 30, 2026

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