CVE-2026-77323

NameCVE-2026-77323
DescriptionMapServer 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mapserver (PTS)bookworm8.0.0-3+deb12u1vulnerable
trixie8.4.0-4+deb13u2vulnerable
forky, sid8.6.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mapserversource(unstable)8.6.5-1

Notes

https://github.com/MapServer/MapServer/security/advisories/GHSA-288j-mhpj-gmmr
https://github.com/MapServer/MapServer/pull/7573
Fixed by: https://github.com/MapServer/MapServer/commit/47720e835de4d80a602210461d3b52c9f3d5c34c (rel-8-6-5)
Fixed by: https://github.com/MapServer/MapServer/commit/3bfd0071f74d55b43301ba57f8c4a1425789e0c4 (rel-8-6-5)

Search for package or bug name: Reporting problems