# CVE-2026-27639: Mercator vulnerable to stored XSS via unescaped Blade directives in display templates

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-02-25T03:44:26.241Z
- Modified: 2026-06-17T10:27:26.323Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dbarzin mercator: < 2026.02.22
- sourcentis mercator: before 2026.02.22

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/dbarzin/mercator/security/advisories/GHSA-65p7-pph2-966g> (mitigation, vendor-advisory)
- <https://github.com/dbarzin/mercator/commit/839d231399944e43a865198262e96e0218252cc3> (patch)
- <https://github.com/dbarzin/mercator/commit/9902ffd91f287e474729f514c77261f4ef7db8fe> (patch)
- <https://github.com/dbarzin/mercator/commit/c58bb1d2fff18605c61d93cfaf77adca416c560a> (patch)

## Sources

- CVE List: [CVE-2026-27639](https://www.cve.org/CVERecord?id=CVE-2026-27639), CVE Terms of Use, modified 2026-02-25
- NVD: [CVE-2026-27639](https://nvd.nist.gov/vuln/detail/CVE-2026-27639), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27639 · Whole record: https://cve.day/CVE-2026-27639.json · Rebuilt by cve.day 2026-11-25T22:59:14.817Z
