Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in MapServer - #VU126492

 

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in MapServer - #VU126492

Published: April 20, 2026


Vulnerability identifier: #VU126492
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-80
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: MapServer
Affected software:
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.


Remediation

Install security update from vendor's website.

Sources