{"schemaVersion":3,"id":"CVE-2025-30220","aliases":["GHSA-jj54-8f66-c5pc"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-06-10T15:16:39.339Z","modified":"2025-06-10T17:13:09.180Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.9,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.42285,"percentile":0.9869,"severity":"high","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.42285},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.41426,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.41426,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.41426,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.41426,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.41426,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.42285,"percentile":0.9869}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.42285,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.42285,"percentile":0.9869}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_GEOSERVER_GEOSERVER","name":"Geoserver","source":"github","url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-9v5q-2gwq-q9hq","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-918","name":"Server-Side Request Forgery (SSRF)","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.html"}],"affected":[{"vendor":"geoserver","product":"geoserver","name":"geoserver","label":"geoserver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.27.0, < 2.27.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.26.0, < 2.26.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.25.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.27.0, < 2.27.1 | ≥ 2.26.0, < 2.26.3 | < 2.25.7","eol":null,"hubHref":"/vendor/geoserver/geoserver"},{"vendor":"geotools","product":"geotools","name":"geotools","label":"geotools","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 28.6.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 29.0, < 31.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 32.0, < 32.3","noFixRecorded":false,"fixedIn":null},{"text":"33.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 28.6.1 | ≥ 29.0, < 31.7 | ≥ 32.0, < 32.3 | 33.0","eol":null,"hubHref":"/vendor/geotools/geotools"},{"vendor":"org.geoserver","product":"gs-wfs","name":"org.geoserver:gs-wfs","label":"gs-wfs","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.geoserver/gs-wfs","purlType":"maven","versions":[{"text":"≥ 2.27.0, < 2.27.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.26.0, < 2.26.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.25.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.27.0, < 2.27.1 | ≥ 2.26.0, < 2.26.3 | < 2.25.7","eol":null,"hubHref":null},{"vendor":"org.geoserver.web","product":"gs-web-app","name":"org.geoserver.web:gs-web-app","label":"gs-web-app","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.geoserver.web/gs-web-app","purlType":"maven","versions":[{"text":"≥ 2.27.0, < 2.27.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.26.0, < 2.26.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.25.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.27.0, < 2.27.1 | ≥ 2.26.0, < 2.26.3 | < 2.25.7","eol":null,"hubHref":null},{"vendor":"osgeo","product":"geonetwork","name":"geonetwork","label":"geonetwork","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.2.0, < 4.2.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.4.0, < 4.4.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.2.0, < 4.2.13 | ≥ 4.4.0, < 4.4.8","eol":null,"hubHref":"/vendor/osgeo/geonetwork"},{"vendor":"osgeo","product":"geoserver","name":"GeoServer","label":"geoserver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.25.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.26.0, < 2.26.3","noFixRecorded":false,"fixedIn":null},{"text":"2.27.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.25.7 | ≥ 2.26.0, < 2.26.3 | 2.27.0","eol":null,"hubHref":"/vendor/osgeo/geoserver"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc","label":"github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc","label":"github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw","label":"github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw","hostname":"github.com","tags":["X Refsource MISC","WEB","Third Party Advisory"]},{"url":"https://github.com/geonetwork/core-geonetwork/pull/8757","label":"github.com/geonetwork/core-geonetwork/pull/8757","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/geonetwork/core-geonetwork/pull/8803","label":"github.com/geonetwork/core-geonetwork/pull/8803","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/geonetwork/core-geonetwork/pull/8812","label":"github.com/geonetwork/core-geonetwork/pull/8812","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities","label":"docs.geoserver.org/latest/en/user/production/config.html","hostname":"docs.geoserver.org","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30220","label":"nvd.nist.gov/vuln/detail/CVE-2025-30220","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/geoserver/geoserver","label":"github.com/geoserver/geoserver","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["GHSA-2P76-GC46-5FVC","GHSA-826P-4GCG-35VW"]},"timeline":[{"kind":"published","date":"2025-06-10T15:16:39.339Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-10T17:13:09.180Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:47:11.689Z","stale":false,"partial":false}}