Reflected cross-site scripting in MapServer OGC API Features output
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
MapServer before 8.6.5 contains a reflected cross-site scripting flaw in the OGC API Features collection-items HTML output. The offset and limit query parameters are inserted without quoting or escaping into a script element (CWE-79). An unauthenticated attacker can craft a request that closes the script element, so a victim who follows it runs arbitrary JavaScript under the MapServer origin.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade MapServer to version 8.6.5, which fixes this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA MapServer (MapServer) Fixed in 8.6.5
Timeline
- 2026-11-20 Threatist record created from CVE-2026-77323
- 2026-11-25 EPSS moved to the below the 50th percentile
- 2026-11-25 CISA SSVC decision points changed
- 2026-11-27 EPSS moved to the 50th–90th percentile
References
Other 6
- 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
More OSGeo vulnerabilities
- TI-2024-24187 Remote code execution in GeoServer via property name expressions KEVCVSS 3.1CRITICAL 9.8
- TI-2022-08629 Code generation flaw in jai-ext enables remote code execution KEVCVSS 3.1CRITICAL 10.0
- TI-2025-36149 Unauthenticated XXE in GeoServer WMS GetMap request KEVCVSS 3.1CRITICAL 9.8
- TI-2026-101125 Service security bypass in GeoServer via prefixed service names KEVCVSS 4.0HIGH 8.8
- TI-2026-101124 Unauthenticated XML injection in GeoServer WFS GetFeatureById KEVCVSS 3.1HIGH 8.6
- TI-2025-36983 MapServer - WFS XML Filter Query SQL injection CVSS 4.0HIGH 8.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences