| Name | CVE-2026-42030 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4935-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| mapserver (PTS) | bookworm | 8.0.0-3+deb12u1 | vulnerable |
| bookworm (security) | 8.0.0-3+deb12u2 | fixed |
| trixie | 8.4.0-4+deb13u2 | vulnerable |
| forky, sid | 8.6.6-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[trixie] - mapserver <no-dsa> (Minor issue)
[bullseye] - mapserver <postponed> (Minor issue, reflected XSS)
https://github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2x
https://github.com/MapServer/MapServer/pull/7480
Fixed by: https://github.com/MapServer/MapServer/commit/9d0d2c0a8e4037022933914d54a820811e91557d (rel-8-6-2)