CVE-2026-42030
Last modified
CVE-2026-42030 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Osgeo | Mapserver | >= 6.0.0, < 8.6.2 |
References
- https://github.com/MapServer/MapServer/releases/tag/rel-8-6-2Product, Release Notes
- https://github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2xExploit, Vendor Advisory
- https://github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2xExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42030?
How severe is CVE-2026-42030?
How do I fix CVE-2026-42030?
Are you affected by CVE-2026-42030?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
