{"schemaVersion":3,"id":"GHSA-826P-4GCG-35VW","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handling\n\n### Summary\n\nGeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit.\n\n### Impact\n\nThis 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).\n\nThis also impacts users of ``gt-wfs-ng`` DataStore where the ENTITY_RESOLVER connection parameter was not being used as intended.\n\n### Resolution\n\nGeoTools API change allows EntityResolver to be supplied to the following methods:\n\n```java\nSchemas.parse( location, locators, resolvers, uriHandlers, entityResolver);\nSchemas.findSchemas(Configuration configuration, EntityResolver entityResolver);\n```\n\nWith this API change the `gt-wfs-ng` WFS DataStore ENTITY_RESOLVER parameter is now used.\n\n### Reference\n\n* [GHSA-jj54-8f66-c5pc](https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc): Describes the impact of the ``gt-xsd-core`` vulnerability on the GeoServer WFS protocol, resulting in both Service Side Request Forgery (SSRF) and Out-of-Band (OOB) data exfiltration of local files.\n\n* [GHSA-2p76-gc46-5fvc](https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc): Describes the impact of the ``gt-wfs-ng`` and ``gt-xsd-core`` vulnerability on the GeoNetwork WFS Index functionality.","dates":{"published":"2025-06-09T23:14:48.000Z","modified":"2026-02-04T04:28:18.471Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.9,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L","computed":true,"selection":"version-preference"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","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":10,"impact":8.8,"computed":true}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"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":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"org.geotools","product":"gt-wfs-ng","name":"org.geotools:gt-wfs-ng","label":"gt-wfs-ng","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.geotools/gt-wfs-ng","purlType":"maven","versions":[{"text":"≥ 33.0, < 33.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 32.0, < 32.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 29.0, < 31.7","noFixRecorded":false,"fixedIn":null},{"text":"< 28.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 33.0, < 33.1 | ≥ 32.0, < 32.3 | ≥ 29.0, < 31.7 | < 28.6.1","eol":null,"hubHref":null},{"vendor":"org.geotools","product":"gt-xsd-core","name":"org.geotools:gt-xsd-core","label":"gt-xsd-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.geotools/gt-xsd-core","purlType":"maven","versions":[{"text":"≥ 33.0, < 33.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 32.0, < 32.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 29.0, < 31.7","noFixRecorded":false,"fixedIn":null},{"text":"< 28.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 33.0, < 33.1 | ≥ 32.0, < 32.3 | ≥ 29.0, < 31.7 | < 28.6.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"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":["WEB"]},{"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":["WEB"]},{"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":["WEB"]},{"url":"https://github.com/geotools/geotools","label":"github.com/geotools/geotools","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CVE-2025-30220"]},"timeline":[{"kind":"published","date":"2025-06-09T23:14:48.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-04T04:28:18.471Z","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-21T12:52:02.468Z","stale":false,"partial":false}}