Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in MapServer - #VU126492
Published: April 20, 2026
MapServer
Detailed vulnerability description
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.