PT-2026-153125
CVE-2026-77325
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
CVSS 3.1
6.1
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
MapServer versions 6.0 through 8.6.4
Description
An unauthenticated attacker can execute arbitrary JavaScript in a victim's browser under the MapServer origin. The issue occurs in the WMS OpenLayers output, triggered by using
FORMAT=application/openlayers or template=openlayers, where a request-derived online-resource value is substituted into a single-quoted JavaScript string in src/maptemplate.c. Because angle brackets are not neutralized, attacker-controlled values in X-Forwarded-Host, X-Forwarded-Proto, PATH INFO, or map= can terminate the script element at the HTML parser layer.Recommendations
Update MapServer to version 8.6.5.
Found an issue in the description? Have something to add? Feel free to write us 👾