5.3medium
MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.94% (higher than 59% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MapServer MapServer | < 8.6.5 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-77323 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-77323 changed 2026-11-25 | Public domain |