Mercator
Mercator vulnerable to stored XSS via unescaped Blade directives in display templates
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2026.02.22
Fixed in 2026.02.22
Mitigation
Upgrade mercator to 2026.02.22 or later.
References
- Vendor advisory github.com/dbarzin/mercator/security/advisorie…
- Patch github.com/dbarzin/mercator/commit/839d2313999…
- Patch github.com/dbarzin/mercator/commit/9902ffd91f2…
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.