{"affected":[{"product":"MapServer","source":"CNA: GitHub_M","vendor":"MapServer","versions":[{"status":"affected","version":"< 8.6.5"}]},{"ecosystem":"","packageName":"OGCAPI Features support in MapServer","product":"OGCAPI Features support in MapServer","source":"GitHub GHSA-288j-mhpj-gmmr","vendor":"","versions":[{"status":"affected","version":"<= 8.6.4","versionType":"GitHub advisory range"}]}],"cveId":"CVE-2026-77323","cwes":["CWE-79","CWE-80"],"description":"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.","epss":{"date":"2026-11-24","percentile":0.56245,"score":0.00766},"exploits":[],"kev":null,"metrics":[{"score":5.3,"severity":"medium","source":"CNA: GitHub_M","vector":"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"},{"score":5.3,"severity":"medium","source":"NVD: security-advisories@github.com","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"}],"modifiedAt":1795583918333,"publishedAt":1795201689617,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/pull/7573"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/commit/5d2a60c1ffd17839879b7b32ec26f689c9dbf1e9"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/MapServer/MapServer/commit/5d2a60c1ffd17839879b7b32ec26f689c9dbf1e9"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/MapServer/MapServer/pull/7573"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr"},{"source":"GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr"}],"remediation":[{"kind":"fix","source":"GitHub GHSA-288j-mhpj-gmmr","text":"OGCAPI Features support in MapServer: GitHub reports patched versions 8.6.5. Check the advisory for the affected release branch.","url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr"}],"revision":"82d937d8e7e82a477076f34dc662371eff512b33cc084e5356f886406edf5cad","sources":[{"modifiedAt":1795580836085,"name":"CNA: GitHub_M","retrievedAt":1795583387201,"url":"https://www.cve.org/CVERecord?id=CVE-2026-77323"},{"modifiedAt":1795583918333,"name":"NVD","retrievedAt":1795587364185,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77323"},{"modifiedAt":1787254292000,"name":"GitHub Security Advisories","retrievedAt":1795388711431,"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1795583402726,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-77323"}],"ssvc":{"assessedAt":1795580816062,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output","updatedAt":1795587364185}