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.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
References
github.com/...rcator/security/advisories/GHSA-65p7-pph2-966g
github.com/...ommit/839d231399944e43a865198262e96e0218252cc3
github.com/...ommit/9902ffd91f287e474729f514c77261f4ef7db8fe
github.com/...ommit/c58bb1d2fff18605c61d93cfaf77adca416c560a