Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-42030 EUVD-2026-28807

MapServer: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in OpenLayers viewer

Published May 8, 2026 · Updated May 8, 2026 · Assigned by GitHub_M

Description

MapServer is a system for developing web-based GIS applications. From version 6.0 to before version 8.6.2, a reflected XSS vulnerability in MapServer's WMS server allows an unauthenticated attacker to inject arbitrary HTML/JavaScript into the browser of any user who opens a crafted WMS URL. The vulnerability is triggered via FORMAT=application/openlayers combined with an unsanitized SRS parameter in WMS 1.3.0 requests. This issue has been patched in version 8.6.2.

Affected products

VendorProductAffectedFixed
MapServer MapServer >= 6.0, < 8.6.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mapserver 8.6.2-1 —
Debian 13 mapserver No fix yet —
Debian 12 mapserver No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mapserver No fix yet —
Ubuntu 26.04 LTS mapserver No fix yet —
Ubuntu 25.10 mapserver No fix yet —
Ubuntu 24.04 LTS mapserver No fix yet —
Ubuntu 22.04 LTS mapserver No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS mapserver No fix yet —
Ubuntu 18.04 LTS mapserver No fix yet —
Ubuntu 16.04 LTS mapserver No fix yet —

References