{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-77323","id":"CVE-2026-77323","title":"MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output","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/colle","descriptionLong":"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.","published":"2026-11-20T19:08:09.617Z","updated":"2026-11-20T19:08:09.617Z","reserved":"2026-08-20T19:24:11.617Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":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","rating":"medium","source":"GitHub_M"}],"rating":"medium","products":["MapServer"],"affectedProducts":[{"vendor":"MapServer","product":"MapServer","defaultStatus":null,"versions":[{"version":"< 8.6.5","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-79","CWE-80"],"aliases":[],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MapServer/MapServer/pull/7573","tags":["x_refsource_MISC"]},{"url":"https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4","tags":["x_refsource_MISC"]},{"url":"https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c","tags":["x_refsource_MISC"]},{"url":"https://github.com/MapServer/MapServer/commit/5d2a60c1ffd17839879b7b32ec26f689c9dbf1e9","tags":["x_refsource_MISC"]},{"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5","tags":["x_refsource_MISC"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-77323","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77323","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-77323","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-77323","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}