CVE-2026-42030
Description
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.
Severity
MEDIUM
CVSS v3
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N · source cna
Exploit chance (EPSS)
0.247%
chance of exploitation in the next 30 days
higher than 16.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-08 |
Timeline
- 2026-05-08Published by the CNA15:56 UTC
- 2026-05-08CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| osgeo mapserver | from 6.0.0 before 8.6.2fixed in 8.6.2 | 8.6.2 |
References
- https://github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2x
- https://github.com/MapServer/MapServer/releases/tag/rel-8-6-2
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42030'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42030'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42030'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42030'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).