CVE-2026-77323
published medium CVSS 4.0 · 5.3MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MapServer | — | MapServer< 8.6.5 | Affected | Not stated | GitHub_M |
| Debian | bookworm | mapserver | Advisory build | 8.0.0-3+deb12u2 | DLA-4935-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MapServer | MapServer | < 8.6.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation
- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page
References
6- 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/pull/7573
- https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5
- https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr
Provider assertions
2GitHub_M · cna
MapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1512b4d4d1c9e7a7122707bd64e51470e6c334567dc54e5b62de99577a03b3c3
- Ingested
- 25 Nov 2026, 04:32:30 UTC
- Source record
- Official CVE record