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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-80"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42030.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "6.0"
},
{
"fixed": "8.6.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "rel-8-6-2",
"range": [
{
"fixed": "141a832fd63a62e4a82403ca2a25ea3e892f8b9b"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:osgeo:mapserver:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "8.6.2"
}
],
"source": "CPE_RANGE"
}
]
}