CVE-2026-27639 Mercator vulnerable to stored XSS via unescaped Blade directives in display templates
HighCVSS 8.5
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sourcentis mercator | < 2026.02.22 | 2026.02.22 | Fixed |
| dbarzin mercator | = < 2026.02.22 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dbarzin mercator | = < 2026.02.22 | No fix listed |
| sourcentis mercator | < 2026.02.22 | 2026.02.22 |
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