{"id":"CVE-2026-42030","state":"PUBLISHED","title":"MapServer: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in OpenLayers viewer","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.","publishedAt":"2026-05-08T15:56:48.553Z","updatedAt":"2026-05-08T21:26:45.294Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["MapServer MapServer"],"affected":[{"vendor":"MapServer","product":"MapServer","versions":[{"version":">= 6.0, < 8.6.2","status":"affected"}]}],"references":["https://github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2x","https://github.com/MapServer/MapServer/releases/tag/rel-8-6-2"],"weaknesses":["CWE-80"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42030.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42030","state":"PUBLISHED","datePublished":"2026-05-08T15:56:48.553Z","dateUpdated":"2026-05-08T21:26:45.294Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-23T16:05:01.708Z"},"containers":{"cna":{"title":"MapServer: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in OpenLayers viewer","descriptions":[{"lang":"en","value":"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":[{"vendor":"MapServer","product":"MapServer","versions":[{"version":">= 6.0, < 8.6.2","status":"affected"}]}],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2x","name":"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","name":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-80","lang":"en","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-08T15:56:48.553Z"},"source":{"advisory":"GHSA-4g9f-ph64-hg2x","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-4g9f-ph64-hg2x","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-08T17:12:03.204167Z","id":"CVE-2026-42030","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-08T21:26:45.294Z"}}]}}}