Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in MapServer - CVE-2026-42030
Published: April 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary JavaScript in the browser of a user who opens a crafted URL.
The vulnerability exists due to improper neutralization of script-related html tags in the OpenLayers viewer output of the WMS server when processing WMS 1.3.0 requests with FORMAT=application/openlayers and an unsanitized SRS parameter. A remote attacker can send a specially crafted WMS URL to execute arbitrary JavaScript in the browser of a user who opens a crafted URL.
User interaction is required to open the crafted URL.
Affected software
Fedora
mapserver
How to mitigate CVE-2026-42030
mapserver - update to 8.6.3-1.fc43