{"id":"CVE-2026-42030","published":"2026-05-08T15:56:48Z","modified":"2026-05-08T21:26:45Z","title":"MapServer: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in OpenLayers viewer","vendor":"MapServer","product":"MapServer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00296,"percentile":0.14632,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-2","tags":["x_refsource_MISC"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":2.93},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"mapserver","affectedVersions":[{"vendor":"MapServer","product":"MapServer","versions":[">= 6.0, < 8.6.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-08T17:12:03.204167Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-28807","exploited":false,"provenance":"source"}}