Vulnerability · Published May 8, 2026 · Assigned by GitHub_M

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

Medium 6.1

In plain English

A medium-severity security flaw in MapServer from MapServer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.2%top 84.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mapserverno fix listedDEBIAN-CVE-2026-42030
Debian:13mapserverno fix listedDEBIAN-CVE-2026-42030
Debian:14mapserver8.6.2-1DEBIAN-CVE-2026-42030
Ubuntu:22.04:LTSmapserverno fix listedUBUNTU-CVE-2026-42030
Ubuntu:24.04:LTSmapserverno fix listedUBUNTU-CVE-2026-42030
Ubuntu:25.10mapserverno fix listedUBUNTU-CVE-2026-42030
Ubuntu:26.04:LTSmapserverno fix listedUBUNTU-CVE-2026-42030
Ubuntu:26.10mapserverno fix listedUBUNTU-CVE-2026-42030

Affected products (as reported)

VendorProductVersions
MapServer MapServer >= 6.0, < 8.6.2

Weakness: CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References