From 6.0 until 8.6.5, MapServer's WMS OpenLayers output, selected by FORMAT=application/openlayers or
Affects mapserverSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 8.6.5 : update mapserver when convenient.
Data as of 25 Nov 2026, 22:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.1 |
|---|
- Patch
- Available – fixed in 8.6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSmapserverpkg:deb/ubuntu/mapserver?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
MapServer is a system for developing web-based GIS applications. From 6.0 until 8.6.5, MapServer's WMS OpenLayers output, selected by FORMAT=application/openlayers or template=openlayers, substitutes a request-derived online-resource value into a single-quoted JavaScript string in src/maptemplate.c. The prior remediation for GHSA-xqj6-vjqr-33vv used msEscapeJSonLikeString() to protect the JavaScript string but did not neutralize angle brackets, so attacker-controlled X-Forwarded-Host or X-Forwarded-Proto values can still terminate the script element at the HTML parser layer. Deployments that expose attacker-controlled PATH_INFO or map= values reaching the same string are also affected. An unauthenticated attacker can cause arbitrary JavaScript to execute in a victim's browser under the MapServer origin when the victim loads the crafted output. This issue is fixed in version 8.6.5.
References
- ubuntu.com/security/CVE-2026-77325 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-77325 (opens in a new tab)
- github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x (opens in a new tab)
- github.com/MapServer/MapServer/pull/7544 (opens in a new tab)
- github.com/MapServer/MapServer/pull/7554 (opens in a new tab)
- github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432 (opens in a new tab)
- github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426 (opens in a new tab)
- github.com/MapServer/MapServer/releases/tag/rel-8-6-5 (opens in a new tab)