{"id":"CVE-2026-77323","aliases":["CVE-2026-77323"],"related":[],"kind":"vulnerability","state":"published","title":"MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2026-11-20T19:08:09.617Z","modified":"2026-11-25T05:18:38.333Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":"< 8.6.5","status":"affected"}],"vendor":"MapServer","product":"MapServer","source":"cvelist"}],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MapServer/MapServer/pull/7573","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MapServer/MapServer/commit/5d2a60c1ffd17839879b7b32ec26f689c9dbf1e9","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-25T04:26:56.062Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-77323","url":"https://www.cve.org/CVERecord?id=CVE-2026-77323","licence":"CVE Terms of Use","modified":"2026-11-25T04:27:16.085Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-77323","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77323","licence":"Public domain","modified":"2026-11-25T05:18:38.333Z"}],"updatedAt":"2026-11-25T23:17:37.055Z","epss":{"score":0.00936,"percentile":0.59211,"date":"2026-11-30T12:00:22.000Z"}}