---
id: CVE-2025-30220
title: >-
  GeoServer is an open source server that allows users to share and edit
  geospatial data
summary: >-
  GeoServer is an open source server that allows users to share and edit
  geospatial data. GeoTools Schema class use of Eclipse XSD library to represent
  schema data structure is vulnerable to XML External Entity (XXE) exploit. This
  impacts …
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L'
cwe:
  - CWE-611
  - CWE-918
vendor: osgeo
product: geonetwork
affected:
  - 'geonetwork >= 4.2.0, < 4.2.13'
  - 'geonetwork >= 4.4.0, < 4.4.8'
  - geoserver < 2.25.7
  - 'geoserver >= 2.26.0, < 2.26.3'
  - geoserver = 2.27.0
  - geotools < 28.6.1
  - 'geotools >= 29.0, < 31.7'
  - 'geotools >= 32.0, < 32.3'
  - geotools = 33.0
patched:
  - geonetwork 4.4.8
  - geoserver 2.26.3
  - geotools 32.3
published: '2025-06-10'
updated: '2026-11-30'
sourceUpdated: '2026-11-30T19:11:06.747'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-30220'
references:
  - url: >-
      https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities
    label: security-advisories@github.com
  - url: 'https://github.com/geonetwork/core-geonetwork/pull/8757'
    label: security-advisories@github.com
  - url: 'https://github.com/geonetwork/core-geonetwork/pull/8803'
    label: security-advisories@github.com
  - url: 'https://github.com/geonetwork/core-geonetwork/pull/8812'
    label: security-advisories@github.com
  - url: >-
      https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc
    label: security-advisories@github.com
  - url: >-
      https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc
    label: security-advisories@github.com
  - url: >-
      https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw
    label: security-advisories@github.com
tags:
  - nvd
  - exploit-available
epss: 0.43913
epssPercentile: 0.98775
exploits:
  nuclei:
    - CVE-2025-30220
  checkedAt: '2026-12-02T21:46:30.140Z'
exploitAvailable: true
ingestedAt: '2026-11-30T19:45:10.602Z'
---

## Overview

GeoServer is an open source server that allows users to share and edit geospatial data. GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit. This impacts whoever exposes XML processing with gt-xsd-core involved in parsing, when the documents carry a reference to an external XML schema. The gt-xsd-core Schemas class is not using the EntityResolver provided by the ParserHandler (if any was configured). This also impacts users of gt-wfs-ng DataStore where the ENTITY_RESOLVER connection parameter was not being used as intended. This vulnerability is fixed in GeoTools 33.1, 32.3, 31.7, and 28.6.1, GeoServer 2.27.1, 2.26.3, and 2.25.7, and GeoNetwork 4.4.8 and 4.2.13.

## Affected

- `geonetwork >= 4.2.0, < 4.2.13`
- `geonetwork >= 4.4.0, < 4.4.8`
- `geoserver < 2.25.7`
- `geoserver >= 2.26.0, < 2.26.3`
- `geoserver = 2.27.0`
- `geotools < 28.6.1`
- `geotools >= 29.0, < 31.7`
- `geotools >= 32.0, < 32.3`
- `geotools = 33.0`

## Remediation

Upgrade past the affected range:

- `geonetwork 4.4.8`
- `geoserver 2.26.3`
- `geotools 32.3`
