{"answers":{"affected":"12 open source packages ship an affected version, including org.geoserver.web:gs-web-app and org.geoserver:gs-wfs. It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-30220 exists.","fix":"Upgrade org.geoserver.web:gs-web-app to a fixed version for your release line: 2.25.7, 2.26.3 or 2.27.1.","what":"CVE-2025-30220 is a critical vulnerability in geoserver, published on 10 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-30220 and fix it if it is affected.\n\nWhat it is: CVE-2025-30220 is a critical vulnerability in geoserver, published on 10 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-30220 exists.\n\nAffected packages and fixed versions:\n- org.geoserver.web:gs-web-app (Maven): affected all versions; fixed in 2.25.7\n- org.geoserver.web:gs-web-app (Maven): affected all versions; fixed in 2.25.7\n- org.geoserver.web:gs-web-app (Maven): affected from 2.26.0; fixed in 2.26.3\n- org.geoserver.web:gs-web-app (Maven): affected from 2.26.0; fixed in 2.26.3\n- org.geoserver.web:gs-web-app (Maven): affected from 2.27.0; fixed in 2.27.1\n- org.geoserver.web:gs-web-app (Maven): affected from 2.27.0; fixed in 2.27.1\n- org.geoserver:gs-wfs (Maven): affected all versions; fixed in 2.25.7\n- org.geoserver:gs-wfs (Maven): affected all versions; fixed in 2.25.7\n- org.geoserver:gs-wfs (Maven): affected from 2.26.0; fixed in 2.26.3\n- org.geoserver:gs-wfs (Maven): affected from 2.26.0; fixed in 2.26.3\n- org.geoserver:gs-wfs (Maven): affected from 2.27.0; fixed in 2.27.1\n- org.geoserver:gs-wfs (Maven): affected from 2.27.0; fixed in 2.27.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-30220/ (Markdown: https://insights.sbomify.com/CVE-2025-30220/index.md)","id":"CVE-2025-30220","markdown":"https://insights.sbomify.com/CVE-2025-30220/index.md","name":"CVE-2025-30220","record":{"aliases":["GHSA-jj54-8f66-c5pc"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GeoServer geospatial server","requires_auth":"none","summary":"Attackers can exploit XXE in GeoServer's XML schema handling to read sensitive files or cause denial of service.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"geotools","vendor":"geotools"},{"product":"geonetwork","vendor":"osgeo"},{"product":"geoserver","vendor":"osgeo"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-30220.yaml","stars":null,"title":"GeoServer WFS - XXE Processing Vulnerability"}],"tier":"weaponised"},"has_fix":true,"headline":"GeoTools, GeoServer, and GeoNetwork XML External Entity (XXE) Processing Vulnerability in XSD schema handling","id":"CVE-2025-30220","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2025"},"n_packages":12,"n_references":7,"next":{"headline":"Pitchfork HTTP Request/Response Splitting vulnerability","id":"CVE-2025-30221"},"packages":[{"ecosystem":"Maven","fixed":["2.25.7"],"introduced":["0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":null,"source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.25.7"],"introduced":["0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.26.3"],"introduced":["2.26.0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":null,"source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.26.3"],"introduced":["2.26.0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.27.1"],"introduced":["2.27.0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":null,"source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.27.1"],"introduced":["2.27.0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.25.7"],"introduced":["0"],"last_affected":[],"package":"org.geoserver:gs-wfs","purl":null,"source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.25.7"],"introduced":["0"],"last_affected":[],"package":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.26.3"],"introduced":["2.26.0"],"last_affected":[],"package":"org.geoserver:gs-wfs","purl":null,"source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.26.3"],"introduced":["2.26.0"],"last_affected":[],"package":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.27.1"],"introduced":["2.27.0"],"last_affected":[],"package":"org.geoserver:gs-wfs","purl":null,"source":"GHSA-jj54-8f66-c5pc"},{"ecosystem":"Maven","fixed":["2.27.1"],"introduced":["2.27.0"],"last_affected":[],"package":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","source":"GHSA-jj54-8f66-c5pc"}],"prev":{"headline":"RabbitMQ has XSS Vulnerability in an Error Message in Management UI","id":"CVE-2025-30219"},"products":["geoserver"],"published":"2025-06-10","related":[{"cvss_score":9.8,"headline":"Unfiltered SQL Injection in Geotools","id":"CVE-2023-25158","kev_date_added":null,"published":"2023-02-21"},{"cvss_score":8.2,"headline":"Unchecked JNDI lookups in GeoTools","id":"CVE-2022-24818","kev_date_added":null,"published":"2022-04-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-10","vendors":["geoserver"]},"summary":"Attackers can exploit XXE in GeoServer's XML schema handling to read sensitive files or cause denial of service.","url":"https://insights.sbomify.com/CVE-2025-30220/"}