CVE-2026-42030

published 8 May 2026 · updated 11 Nov 2026

MapServer: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in OpenLayers viewer

7.1HighCVSS 6.1EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in mapserver 8.6.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MapServer>=6.0 <8.6.2
OSGeomapserver>=6.0.0 <8.6.28.6.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in OSGeo, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42030 severity on Zeptric[![CVE-2026-42030](https://zeptric.io/badge/cve/CVE-2026-42030.svg)](https://zeptric.io/cve/CVE-2026-42030)