{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-21621",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-12-29T03:00:24.714Z",
        "datePublished": "2025-11-25T21:52:11.598Z",
        "dateUpdated": "2025-11-26T16:03:05.272Z"
    },
    "containers": {
        "cna": {
            "title": "GeoServer Reflected Cross-Site Scripting (XSS) vulnerability in WMS GetFeatureInfo HTML format",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.1,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/geoserver/geoserver/security/advisories/GHSA-w66h-j855-qr72"
                },
                {
                    "name": "https://github.com/geoserver/geoserver/pull/7406",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/geoserver/geoserver/pull/7406"
                },
                {
                    "name": "https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/geoserver/geoserver/commit/dc9ff1c726dd73c884437a123b4ad72b19383c7d"
                },
                {
                    "name": "https://osgeo-org.atlassian.net/browse/GEOS-11297",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://osgeo-org.atlassian.net/browse/GEOS-11297"
                }
            ],
            "affected": [
                {
                    "vendor": "geoserver",
                    "product": "geoserver",
                    "versions": [
                        {
                            "version": "< 2.25.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-11-25T21:52:11.598Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "GeoServer is an open source server that allows users to share and edit geospatial data. Prior to version 2.25.0, a reflected cross-site scripting (XSS) vulnerability exists in the WMS GetFeatureInfo HTML output format that enables a remote attacker to execute arbitrary JavaScript code in a victim's browser through specially crafted SLD_BODY parameters. This issue has been patched in version 2.25.0."
                }
            ],
            "source": {
                "advisory": "GHSA-w66h-j855-qr72",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-11-26T16:02:58.299745Z",
                                "id": "CVE-2025-21621",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-11-26T16:03:05.272Z"
                }
            }
        ]
    }
}