CVE-2026-54355 json
MapServer: Reflected XSS in OpenLayers HTML Output via `HTTP_X_FORWARDED_HOST`
published 2026-09-17 52 d ago modified 2026-09-30 39 d ago also EUVD-2026-82433
- cvss
- 5.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
MapServer is a system for developing web-based GIS applications. From 6.0 until 8.6.4, MapServer's OpenLayers HTML output for SERVICE=WMS&REQUEST=GetMap&FORMAT=application/openlayers reflects an attacker-controlled X-Forwarded-Host value received as HTTP_X_FORWARDED_HOST through msBuildOnlineResource(), processLine(), and the [mapserv_onlineresource] substitution in src/maputil.c and src/maptemplate.c without escaping it for a single-quoted JavaScript string. When the deployment trusts the forwarded header and does not configure a fixed ows_onlineresource or MS_ONLINERESOURCE value, embedded single quotes can escape the generated URL string. An unauthenticated attacker can craft a URL that executes arbitrary JavaScript in the MapServer site origin when opened by a victim, enabling access to sessions or tokens, same-origin data and requests, and actions as the victim. This issue is fixed in version 8.6.4.
Patch / fix
- mapserver Debian 14 8.6.4-1
debian advisories DEBIAN-CVE-2026-54355
- github.com/MapServer/MapServer@edc1033 commit
- github.com/MapServer/MapServer@ff17ef1 commit
- github.com/MapServer/MapServer#7517 pull request
- github.com/MapServer/MapServer#7518 pull request
- github.com/MapServer/MapServer/releases/tag/rel-8-6-4 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-54355 updated cvss 8.1
MapServer: MapServer: Reflected Cross-Site Scripting via HTTP_X_FORWARDED_HOST
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 45 d ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/MapServer/MapServer/security/advisories/GHSA-xqj6-vjqr-33vv referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N |
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/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 |
Affected products
- MapServer MapServer
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- github.com /MapServer/MapServer/pull/7517
- github.com /MapServer/MapServer/pull/7518
- github.com /MapServer/MapServer/commit/edc1033c7963fcffd160d85cf430f49aaf4a1374
- github.com /MapServer/MapServer/commit/ff17ef190caaeaa9002ac3d1c7969ec5315c345e
-
github.com
/MapServer/MapServer/security/advisories/GHSA-xqj6-vjqr-33vv
exploit
- github.com /MapServer/MapServer/releases/tag/rel-8-6-4
- mapserver.org /development/changelog/changelog-8-6.html#changelog-8-6
Sources
- CVE List CVE-2026-54355
- NVD CVE-2026-54355
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.