{"answers":{"affected":"8 open source packages ship an affected version, including org.geonetwork-opensource:gn-web-app and org.geonetwork-opensource:gn-wfsfeature-harvester.","exploited":"There is no known exploitation of GHSA-2p76-gc46-5fvc in the wild and no public exploit code.","fix":"Upgrade org.geonetwork-opensource:gn-web-app to a fixed version for your release line: 4.2.13 or 4.4.8.","what":"GHSA-2p76-gc46-5fvc is a vulnerability in org.geonetwork-opensource:gn-web-app, 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 GHSA-2p76-gc46-5fvc and fix it if it is affected.\n\nWhat it is: GHSA-2p76-gc46-5fvc is a vulnerability in org.geonetwork-opensource:gn-web-app, published on 10 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-2p76-gc46-5fvc in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.geonetwork-opensource:gn-web-app (Maven): affected from 4.2.0; fixed in 4.2.13\n- org.geonetwork-opensource:gn-web-app (Maven): affected from 4.2.0; fixed in 4.2.13\n- org.geonetwork-opensource:gn-web-app (Maven): affected from 4.4.0; fixed in 4.4.8\n- org.geonetwork-opensource:gn-web-app (Maven): affected from 4.4.0; fixed in 4.4.8\n- org.geonetwork-opensource:gn-wfsfeature-harvester (Maven): affected from 4.2.0; fixed in 4.2.13\n- org.geonetwork-opensource:gn-wfsfeature-harvester (Maven): affected from 4.2.0; fixed in 4.2.13\n- org.geonetwork-opensource:gn-wfsfeature-harvester (Maven): affected from 4.4.0; fixed in 4.4.8\n- org.geonetwork-opensource:gn-wfsfeature-harvester (Maven): affected from 4.4.0; fixed in 4.4.8\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/GHSA-2p76-gc46-5fvc/ (Markdown: https://insights.sbomify.com/GHSA-2p76-gc46-5fvc/index.md)","id":"GHSA-2p76-gc46-5fvc","markdown":"https://insights.sbomify.com/GHSA-2p76-gc46-5fvc/index.md","name":"GHSA-2p76-gc46-5fvc","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"GeoNetwork geospatial catalog","requires_auth":"none","summary":"Unauthenticated attackers can exploit an XXE vulnerability in the WFS indexing API to read sensitive files from the server.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nGeoNetwork WFS Index functionality is affected by GeoTools XML External Entity (XXE) vulnerability during schema validation. \n\nThis vulnerability is particularly severe as the REST API endpoint was not secured, potentially allowing unauthenticated attackers to read sensitive files \n\n### Patches\n\nGeoNetwork 4.4.8 / 4.2.13.\n\n### Workarounds\n\nRemove the ``gn-wfsfeature-harvester`` and ``gn-camelPeriodicProducer``  jars, disabling the WFS Index functionality. \n\n### References\n\n- [GHSA-826p-4gcg-35vw](https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw)\n- https://github.com/geonetwork/core-geonetwork/pull/8757\n- https://github.com/geonetwork/core-geonetwork/pull/8803\n- https://github.com/geonetwork/core-geonetwork/pull/8812","ecosystems":["Maven"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"GeoNetwork affected by XML External Entity (XXE) processing vulnerability in WFS indexing REST API endpoint","id":"GHSA-2p76-gc46-5fvc","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2025"},"n_packages":8,"n_references":null,"packages":[{"ecosystem":"Maven","fixed":["4.2.13"],"introduced":["4.2.0"],"last_affected":[],"package":"org.geonetwork-opensource:gn-web-app","purl":null,"source":"GHSA-2p76-gc46-5fvc"},{"ecosystem":"Maven","fixed":["4.2.13"],"introduced":["4.2.0"],"last_affected":[],"package":"org.geonetwork-opensource:gn-web-app","purl":"pkg:maven/org.geonetwork-opensource/gn-web-app","source":"GHSA-2p76-gc46-5fvc"},{"ecosystem":"Maven","fixed":["4.4.8"],"introduced":["4.4.0"],"last_affected":[],"package":"org.geonetwork-opensource:gn-web-app","purl":null,"source":"GHSA-2p76-gc46-5fvc"},{"ecosystem":"Maven","fixed":["4.4.8"],"introduced":["4.4.0"],"last_affected":[],"package":"org.geonetwork-opensource:gn-web-app","purl":"pkg:maven/org.geonetwork-opensource/gn-web-app","source":"GHSA-2p76-gc46-5fvc"},{"ecosystem":"Maven","fixed":["4.2.13"],"introduced":["4.2.0"],"last_affected":[],"package":"org.geonetwork-opensource:gn-wfsfeature-harvester","purl":null,"source":"GHSA-2p76-gc46-5fvc"},{"ecosystem":"Maven","fixed":["4.2.13"],"introduced":["4.2.0"],"last_affected":[],"package":"org.geonetwork-opensource:gn-wfsfeature-harvester","purl":"pkg:maven/org.geonetwork-opensource/gn-wfsfeature-harvester","source":"GHSA-2p76-gc46-5fvc"},{"ecosystem":"Maven","fixed":["4.4.8"],"introduced":["4.4.0"],"last_affected":[],"package":"org.geonetwork-opensource:gn-wfsfeature-harvester","purl":null,"source":"GHSA-2p76-gc46-5fvc"},{"ecosystem":"Maven","fixed":["4.4.8"],"introduced":["4.4.0"],"last_affected":[],"package":"org.geonetwork-opensource:gn-wfsfeature-harvester","purl":"pkg:maven/org.geonetwork-opensource/gn-wfsfeature-harvester","source":"GHSA-2p76-gc46-5fvc"}],"products":null,"published":"2025-06-10","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Unauthenticated attackers can exploit an XXE vulnerability in the WFS indexing API to read sensitive files from the server.","url":"https://insights.sbomify.com/GHSA-2p76-gc46-5fvc/"}