6.1Medium

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

MapServer MapServer Published: (6 months ago)

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.

Weakness (CWE): CWE-80

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
MapServer MapServer >= 6.0, < 8.6.2
osgeo mapserver 6.0.0 – < 8.6.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:osgeo:mapserver:*:*:*:*:*:*:*:* ≥ 6.0.0 < 8.6.2