{
  "id": "CVE-2025-58360",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-58360",
  "published_at": "2025-11-25T20:17:35.254Z",
  "title": "GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature",
  "vendor": "geoserver",
  "product": "geoserver",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2025-12-11",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 16
  },
  "first_poc": {
    "created_at": "2025-11-27T05:09:25Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.4,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-58360.yaml"
  },
  "poc_repo_count": 5,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "GeoServer is an open source server that allows users to share and edit geospatial data. From version 2.26.0 to before 2.26.2 and before 2.25.6, an XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request. This issue has been patched in GeoServer 2.25.6, GeoServer 2.26.3, and GeoServer 2.27.0.",
  "cwe": "CWE-611",
  "cpes": [
    "cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "carlzhang123/Blackash-CVE-2025-58360",
      "url": "https://github.com/carlzhang123/Blackash-CVE-2025-58360",
      "created_at": "2025-11-27T00:47:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-04-16T21:05:43Z"
    },
    {
      "repo": "quyenheu/CVE-2025-58360",
      "url": "https://github.com/quyenheu/CVE-2025-58360",
      "created_at": "2025-11-27T07:20:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 7,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-05-06T06:21:30Z"
    },
    {
      "repo": "rxerium/CVE-2025-58360",
      "url": "https://github.com/rxerium/CVE-2025-58360",
      "created_at": "2025-12-12T06:33:28Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2019-12-27T18:58:42Z"
    },
    {
      "repo": "Joker-Wiggin/CVE-2025-58360-GeoServer-XXE",
      "url": "https://github.com/Joker-Wiggin/CVE-2025-58360-GeoServer-XXE",
      "created_at": "2025-12-12T18:51:38Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-09-29T04:22:04Z"
    },
    {
      "repo": "quyenheu/Bypass-CVE-2025-58360",
      "url": "https://github.com/quyenheu/Bypass-CVE-2025-58360",
      "created_at": "2025-12-31T03:49:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-05-06T06:21:30Z"
    },
    {
      "repo": "thomas-osgood/cve-2025-58360",
      "url": "https://github.com/thomas-osgood/cve-2025-58360",
      "created_at": "2026-02-02T03:51:28Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-07-31T01:20:17Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "geoserver",
        "product": "geoserver",
        "ranges": [
          "\u003e= 2.26.0, \u003c 2.26.2",
          "\u003c 2.25.6"
        ],
        "fixed_in": [
          "2.26.2",
          "2.25.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade geoserver to 2.26.2 or 2.25.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/geoserver/geoserver/security/advisories/GHSA-fjf5-xgmq-5525"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/geoserver_wms_getmap_xxe_file_read.rb",
      "source": "metasploit",
      "title": "Metasploit auxiliary: GeoServer WMS GetMap XXE Arbitrary File Read (auxiliary/gather/geoserver_wms_getmap_xxe_file_read)",
      "published_at": "2025-12-12T15:11:15Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-58360.yaml",
      "source": "nuclei",
      "title": "nuclei template: GeoServer - XML External Entity Injection",
      "published_at": "2025-11-27T05:09:25Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/geoserver/rest/about/version",
      "headers": [
        {
          "name": "Accept",
          "value": "{var}"
        }
      ],
      "ports": [
        8080,
        8081,
        8888,
        9999
      ],
      "protocol": "http",
      "repos": [
        "Joker-Wiggin/CVE-2025-58360-GeoServer-XXE"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Joker-Wiggin/CVE-2025-58360-GeoServer-XXE/CVE-2025-58360.py:149"
      ]
    },
    {
      "method": "GET",
      "path_template": "/geoserver/web/",
      "ports": [
        8080,
        8081,
        8888,
        9999
      ],
      "protocol": "http",
      "repos": [
        "Joker-Wiggin/CVE-2025-58360-GeoServer-XXE"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Joker-Wiggin/CVE-2025-58360-GeoServer-XXE/CVE-2025-58360.py:178"
      ]
    },
    {
      "method": "POST",
      "path_template": "/geoserver/ows",
      "query_markers": [
        "service=WMS",
        "version=1.1.0",
        "request=GetMap",
        "width=100",
        "height=100",
        "format=image/png",
        "bbox=-180,-90,180,90"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "\"\"\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e"
      ],
      "ports": [
        8080,
        8081,
        8888,
        9999
      ],
      "protocol": "http",
      "repos": [
        "Joker-Wiggin/CVE-2025-58360-GeoServer-XXE"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Joker-Wiggin/CVE-2025-58360-GeoServer-XXE/CVE-2025-58360.py:225"
      ]
    },
    {
      "method": "POST",
      "path_template": "/geoserver/topp/ows",
      "query_markers": [
        "service=WMS",
        "version=2.0.0",
        "request=getmap",
        "maxFeatures=1",
        "outputFormat=application/json"
      ],
      "body_markers": [
        "@payload.xml"
      ],
      "content_type": "application/xml",
      "protocol": "http",
      "repos": [
        "quyenheu/Bypass-CVE-2025-58360"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "quyenheu/Bypass-CVE-2025-58360/README.md:3"
      ]
    }
  ],
  "rules": []
}
