CVE-2026-42030

NameCVE-2026-42030
DescriptionMapServer 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4935-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mapserver (PTS)bookworm8.0.0-3+deb12u1vulnerable
bookworm (security)8.0.0-3+deb12u2fixed
trixie8.4.0-4+deb13u2vulnerable
forky, sid8.6.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mapserversourcebookworm8.0.0-3+deb12u2DLA-4935-1
mapserversource(unstable)8.6.2-1

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)

Search for package or bug name: Reporting problems