{"id":"CVE-2026-77323","aliases":["GHSA-288j-mhpj-gmmr"],"title":"MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output","originalDescription":"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.","severity":{"cvss":5.3,"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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00936,"percentile":0.59211},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr","type":"x_refsource_CONFIRM"},{"url":"https://github.com/MapServer/MapServer/pull/7573","type":"x_refsource_MISC"},{"url":"https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4","type":"x_refsource_MISC"},{"url":"https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c","type":"x_refsource_MISC"},{"url":"https://github.com/MapServer/MapServer/commit/5d2a60c1ffd17839879b7b32ec26f689c9dbf1e9","type":"x_refsource_MISC"},{"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77323.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77323","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T05:27:19.547Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77323","license":"NVD terms of use","firstSeenAt":"2026-11-20T19:42:57.405Z"},{"name":"osv","at":"2026-11-21T22:40:42.962Z","url":"https://osv.dev/vulnerability/CVE-2026-77323","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T21:34:30.459Z"},{"name":"cvelistV5","at":"2026-11-30T16:03:57.774Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-77323","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T19:40:33.989Z"}],"firstSeenAt":"2026-11-20T19:40:33.989Z","publishedAt":"2026-11-20T19:08:09.617Z","modifiedAt":"2026-11-25T05:18:38.333Z"}