# CVE-2026-77323: MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 59% of CVEs (2026-11-30)
- Published: 2026-11-20T19:08:09.617Z
- Modified: 2026-11-25T05:18:38.333Z
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- MapServer MapServer: < 8.6.5

## References

- <https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr>
- <https://github.com/MapServer/MapServer/pull/7573>
- <https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4>
- <https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c>
- <https://github.com/MapServer/MapServer/commit/5d2a60c1ffd17839879b7b32ec26f689c9dbf1e9>
- <https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5>

## Sources

- CVE List: [CVE-2026-77323](https://www.cve.org/CVERecord?id=CVE-2026-77323), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-77323](https://nvd.nist.gov/vuln/detail/CVE-2026-77323), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-77323 · Whole record: https://cve.day/CVE-2026-77323.json · Rebuilt by cve.day 2026-11-25T23:17:37.055Z
