{"api_version":"1","generated_at":"2026-11-30T14:59:38+00:00","cve":"CVE-2026-77325","urls":{"html":"https://cve.report/CVE-2026-77325","api":"https://cve.report/api/cve/CVE-2026-77325.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-77325","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77325"},"summary":{"title":"MapServer: Reflected XSS in WMS OpenLayers output via the `X-Forwarded-Host` header","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-11-20 19:18:53","updated_at":"2026-11-24 17:54:52"},"problem_types":["CWE-79","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"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"}}],"references":[{"url":"https://github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432","name":"https://github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MapServer/MapServer/pull/7544","name":"https://github.com/MapServer/MapServer/pull/7544","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MapServer/MapServer/pull/7554","name":"https://github.com/MapServer/MapServer/pull/7554","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426","name":"https://github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x","name":"https://github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5","name":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-77325","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77325","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"MapServer","product":"MapServer","version":"affected >= 6.0, < 8.6.5","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"77325","cve":"CVE-2026-77325","epss":"0.003800000","percentile":"0.238290000","score_date":"2026-11-25","updated_at":"2026-11-26 00:09:07"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-77325","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-11-24T00:22:26.475843Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-11-24T00:53:33.881Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"MapServer","vendor":"MapServer","versions":[{"status":"affected","version":">= 6.0, < 8.6.5"}]}],"descriptions":[{"lang":"en","value":"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."}],"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-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-20T19:10:16.273Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x"},{"name":"https://github.com/MapServer/MapServer/pull/7544","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/pull/7544"},{"name":"https://github.com/MapServer/MapServer/pull/7554","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/pull/7554"},{"name":"https://github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432"},{"name":"https://github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426"},{"name":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5","tags":["x_refsource_MISC"],"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5"}],"source":{"advisory":"GHSA-52rr-p4x5-2x6x","discovery":"UNKNOWN"},"title":"MapServer: Reflected XSS in WMS OpenLayers output via the `X-Forwarded-Host` header"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-77325","datePublished":"2026-11-20T19:10:16.273Z","dateReserved":"2026-08-20T19:24:11.617Z","dateUpdated":"2026-11-24T00:53:33.881Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 19:18:53","lastModifiedDate":"2026-11-24 17:54:52","problem_types":["CWE-79","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-24T00:22:26.475843Z","id":"CVE-2026-77325","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"77325","Ordinal":"1","Title":"MapServer: Reflected XSS in WMS OpenLayers output via the `X-For","CVE":"CVE-2026-77325","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"77325","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"MapServer: Reflected XSS in WMS OpenLayers output via the `X-For"}]}}}