{"id":"CVE-2026-27639","state":"PUBLISHED","title":"Mercator vulnerable to stored XSS via unescaped Blade directives in display templates","description":"Mercator is an open source web application designed to enable mapping of information systems. A stored Cross-Site Scripting (XSS) vulnerability exists in Mercator prior to version 2026.02.22 due to the use of unescaped Blade directives (`{!! !!}`) in display templates. An authenticated user with the User role can inject arbitrary JavaScript payloads into fields such as \"contact point\" when creating or editing entities. The payload is then executed in the browser of any user who views the affected page, including administrators. Version 2026.02.22 fixes the vulnerability.","publishedAt":"2026-02-25T03:44:26.241Z","updatedAt":"2026-02-25T15:20:41.753Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["dbarzin mercator"],"affected":[{"vendor":"dbarzin","product":"mercator","versions":[{"version":"< 2026.02.22","status":"affected"}]}],"references":["https://github.com/dbarzin/mercator/security/advisories/GHSA-65p7-pph2-966g","https://github.com/dbarzin/mercator/commit/839d231399944e43a865198262e96e0218252cc3","https://github.com/dbarzin/mercator/commit/9902ffd91f287e474729f514c77261f4ef7db8fe","https://github.com/dbarzin/mercator/commit/c58bb1d2fff18605c61d93cfaf77adca416c560a"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27639.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27639","state":"PUBLISHED","datePublished":"2026-02-25T03:44:26.241Z","dateUpdated":"2026-02-25T15:20:41.753Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-20T22:02:30.029Z"},"containers":{"cna":{"title":"Mercator vulnerable to stored XSS via unescaped Blade directives in display templates","descriptions":[{"lang":"en","value":"Mercator is an open source web application designed to enable mapping of information systems. A stored Cross-Site Scripting (XSS) vulnerability exists in Mercator prior to version 2026.02.22 due to the use of unescaped Blade directives (`{!! !!}`) in display templates. An authenticated user with the User role can inject arbitrary JavaScript payloads into fields such as \"contact point\" when creating or editing entities. The payload is then executed in the browser of any user who views the affected page, including administrators. Version 2026.02.22 fixes the vulnerability."}],"affected":[{"vendor":"dbarzin","product":"mercator","versions":[{"version":"< 2026.02.22","status":"affected"}]}],"references":[{"url":"https://github.com/dbarzin/mercator/security/advisories/GHSA-65p7-pph2-966g","name":"https://github.com/dbarzin/mercator/security/advisories/GHSA-65p7-pph2-966g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dbarzin/mercator/commit/839d231399944e43a865198262e96e0218252cc3","name":"https://github.com/dbarzin/mercator/commit/839d231399944e43a865198262e96e0218252cc3","tags":["x_refsource_MISC"]},{"url":"https://github.com/dbarzin/mercator/commit/9902ffd91f287e474729f514c77261f4ef7db8fe","name":"https://github.com/dbarzin/mercator/commit/9902ffd91f287e474729f514c77261f4ef7db8fe","tags":["x_refsource_MISC"]},{"url":"https://github.com/dbarzin/mercator/commit/c58bb1d2fff18605c61d93cfaf77adca416c560a","name":"https://github.com/dbarzin/mercator/commit/c58bb1d2fff18605c61d93cfaf77adca416c560a","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-25T03:44:26.241Z"},"source":{"advisory":"GHSA-65p7-pph2-966g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-25T15:20:28.655665Z","id":"CVE-2026-27639","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-25T15:20:41.753Z"}}]}}}