CVE-2026-42030
JSON

6.1medium

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

Severity
6.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
MapServer MapServer>= 6.0, < 8.6.2CVE List
osgeo mapserverfrom 6.0.0 before 8.6.2NVD

Classification

CWE-80

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

MapServer es un sistema para desarrollar aplicaciones GIS basadas en web. Desde la versión 6.0 hasta antes de la versión 8.6.2, una vulnerabilidad XSS reflejada en el servidor WMS de MapServer permite a un atacante no autenticado inyectar HTML/JavaScript arbitrario en el navegador de cualquier usuario que abre una URL WMS manipulada. La vulnerabilidad se activa a través de FORMAT=application/openlayers combinado con un parámetro SRS no saneado en solicitudes WMS 1.3.0. Este problema ha sido parcheado en la versión 8.6.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42030 changed 2026-05-08CVE Terms of Use
NVDCVE-2026-42030 changed 2026-11-11Public domain