{"id":"CVE-2026-77325","aliases":[],"cve":{"records":[{"id":"CVE-2026-77325","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-20T19:24:11.617Z","published":"2026-11-20T19:10:16.273Z","modified":"2026-11-24T00:53:33.881Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-11-20T19:10:16.273Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-24T00:53:33.881Z"}],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/pull/7544","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/pull/7554","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-24T00:22:26.475843Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"MapServer: Reflected XSS in WMS OpenLayers output via the `X-Forwarded-Host` header","titleSource":"GitHub_M","descriptionSource":"GitHub_M","description":"MapServer is a system for developing web-based GIS applications. From 6.0 until 8.6.5, MapServer's WMS OpenLayers output, selected by FORMAT=application/openlayers or template=openlayers, substitutes a request-derived online-resource value into a single-quoted JavaScript string in src/maptemplate.c. The prior remediation for GHSA-xqj6-vjqr-33vv used msEscapeJSonLikeString() to protect the JavaScript string but did not neutralize angle brackets, so attacker-controlled X-Forwarded-Host or X-Forwarded-Proto values can still terminate the script element at the HTML parser layer. Deployments that expose attacker-controlled PATH_INFO or map= values reaching the same string are also affected. An unauthenticated attacker can cause arbitrary JavaScript to execute in a victim's browser under the MapServer origin when the victim loads the crafted output. This issue is fixed in version 8.6.5.","score":6.1,"severity":"medium","published":"2026-11-20T19:10:16.273Z","modified":"2026-11-24T00:53:33.881Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"MapServer","name":"MapServer","platforms":[],"versions":[{"version":">= 6.0, < 8.6.5","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-77325"}],"remediation":[],"references":["https://github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x","https://github.com/MapServer/MapServer/pull/7544","https://github.com/MapServer/MapServer/pull/7554","https://github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432","https://github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426","https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5"],"sources":[{"name":"CVE","id":"CVE-2026-77325","modified":"2026-11-24T00:53:33.881Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-77325"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"sourceAffected":[],"observedAt":"2026-11-24T01:31:05.105Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T22:55:30.485Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-20T20:15:34.262Z","attemptedAt":"2026-11-20T20:15:34.262Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-20T20:15:31.070Z","attemptedAt":"2026-11-20T20:15:31.070Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-20T20:10:38.037Z","attemptedAt":"2026-11-20T20:10:38.037Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-20T20:10:36.841Z","attemptedAt":"2026-11-20T20:10:36.841Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-77325","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77325","modified":"2026-11-20T19:18:53.963","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","checkedAt":"2026-11-20T20:15:34.262Z"}],"aiSummary":{"text":"MapServer versions 6.0 to 8.6.5 are affected by a reflected XSS vulnerability via the X-Forwarded-Host header in WMS OpenLayers output. An unauthenticated attacker can execute arbitrary JavaScript in a victim's browser. The issue is fixed in version 8.6.5.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T22:46:24.375Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-77325"}]}}