XSS in Mapserver
CVE-2026-42030
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 16.1th percentile
- Published
- 2026-05-08
MapServer is a system for developing web-based GIS applications. From version 6.0 to before version 8.6.2, a reflected XSS vulnerability in MapServer's WMS server allows an unauthenticated attacker to inject arbitrary HTML/JavaScript into the browser of any user who opens a crafted WMS URL. The vulnerability is triggered via FORMAT=application/openlayers combined with an unsanitized SRS parameter in WMS 1.3.0 requests. This issue has been patched in version 8.6.2.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.002, 16.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Mapserver — versions >= 6.0, < 8.6.2
- Osgeo Mapserver
Weakness classification (CWE)
References
- github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2x (Exploit, Vendor Advisory)
- github.com/MapServer/MapServer/releases/tag/rel-8-6-2 (Product, Release Notes)