{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-77323",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-08-20T19:24:11.617Z",
        "datePublished": "2026-11-20T19:08:09.617Z",
        "dateUpdated": "2026-11-25T04:27:16.085Z"
    },
    "containers": {
        "cna": {
            "title": "MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-80",
                            "lang": "en",
                            "description": "CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "LOW",
                        "subIntegrityImpact": "LOW",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr"
                },
                {
                    "name": "https://github.com/MapServer/MapServer/pull/7573",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/MapServer/MapServer/pull/7573"
                },
                {
                    "name": "https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4"
                },
                {
                    "name": "https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c"
                },
                {
                    "name": "https://github.com/MapServer/MapServer/commit/5d2a60c1ffd17839879b7b32ec26f689c9dbf1e9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/MapServer/MapServer/commit/5d2a60c1ffd17839879b7b32ec26f689c9dbf1e9"
                },
                {
                    "name": "https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5"
                }
            ],
            "affected": [
                {
                    "vendor": "MapServer",
                    "product": "MapServer",
                    "versions": [
                        {
                            "version": "< 8.6.5",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-11-20T19:08:09.617Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "MapServer is a system for developing web-based GIS applications. Prior to 8.6.5, an unauthenticated reflected cross-site scripting vulnerability in OGC API Features collection-items HTML output allows crafted offset or limit query parameter values from raw CGI request handling in src/mapogcapi.cpp to reach template.params.offset or template.params.limit. share/ogcapi/templates/html-bootstrap/collection-items.html inserts those values without quoting or escaping into a script element. A victim who follows a crafted request can have the script element terminated by attacker-controlled markup, causing arbitrary JavaScript to execute under the MapServer origin and enabling access to browser-session data, actions as the victim, and content manipulation. This issue is fixed in 8.6.5."
                }
            ],
            "source": {
                "advisory": "GHSA-288j-mhpj-gmmr",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-25T04:26:56.062532Z",
                                "id": "CVE-2026-77323",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "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": "2026-11-25T04:27:16.085Z"
                }
            }
        ]
    }
}