Summary
Wanderer is a self-hosted trail database for saving and sharing adventures. Prior to 0.19.3, an authenticated user can store a crafted waypoint.icon value that createMarkerFromWaypoint() passes into FontawesomeMarker, where insertAdjacentHTML inserts the unvalidated value into map marker markup. Opening the affected trail map executes attacker-controlled script in the viewer's browser, which can expose session tokens or perform actions as the victim. Federated waypoint data can also reach the sink without a local account on the receiving instance. This issue is fixed in version 0.19.3.
Remediation
References
- Referencehttps://github.com/open-wanderer/wanderer/commit/6135332ea69a3d9a4fe1dec5af1cb1ee74f70e2b
- Referencehttps://github.com/open-wanderer/wanderer/pull/1093
- Referencehttps://github.com/open-wanderer/wanderer/releases/tag/v0.19.3
- Referencehttps://github.com/open-wanderer/wanderer/security/advisories/GHSA-hx3v-rv4v-w875