CVE-2026-77325: falha de média gravidade em MapServer
MapServer: Reflected XSS in WMS OpenLayers output via the `X-Forwarded-Host` header
Publicada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
13Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 6.1epss 0.5%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Produtos afetados
MapServer · MapServerCVEs relacionadas — MapServer
No mesmo produto, das mais perigosas para as menos.
CVE-2026-77324HIGHMapServer: WCS POST: NULL-Dereference Denial of Service When `BoundingBox` Omits `crs`EPSS 1.5%CVE-2026-33721MEDIUMMapServer has heap buffer overflow in SLD `Categorize` Threshold parsingEPSS 1.2%CVE-2026-77327MEDIUMMapServer: MySQL JOIN second-order SQL injection in src/mapjoin.cEPSS 1.2%CVE-2026-77326HIGHMapServer: Heap buffer overflow in WMS GetLegendGraphic via repeated LAYER parametersEPSS 1.0%CVE-2026-77323MEDIUMMapServer Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML outputEPSS 0.8%CVE-2026-77328MEDIUMMapServer: PostgreSQL JOIN second-order SQL injection in src/mappostgresql.cEPSS 0.8%
Referências
https://github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432https://github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426https://github.com/MapServer/MapServer/pull/7544https://github.com/MapServer/MapServer/pull/7554https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5https://github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x