Cross-Site Scripting in MapServer GIS Platform
CVE-2026-77325
6.1MEDIUM
What is CVE-2026-77325?
MapServer, a platform for creating web-based Geographic Information Systems (GIS), has a vulnerability in its WMS OpenLayers output leading to Cross-Site Scripting (XSS). This occurs when request-derived values are improperly inserted into a JavaScript string. Previous attempts to harden security using msEscapeJSonLikeString() failed to neutralize angle brackets, allowing attacker-controlled values to manipulate the script element. This issue exposes users to arbitrary JavaScript execution when affected outputs are loaded, potentially compromising user sessions. Users are urged to upgrade to version 8.6.5 to address this vulnerability.
Affected Version(s)
MapServer >= 6.0, < 8.6.5
