CVE-2026-77323
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. Limited direct impact.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: 5.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Received
Affected
- MapServer < 8.6.5
Attack profile CVSS 4.0 · 5.3
- Attack vector
- Network
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Raw 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-77323.md and follow it. Check whether this project is affected by CVE-2026-77323. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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
- https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr
References
- 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