Descrizione
Wanderer is a self-hosted trail database for saving and sharing adventures. Prior to 0.19.3, an authenticated local user can submit crafted waypoint.name and waypoint.icon values that the trail elevation graph interpolates into an innerHTML template in web/src/lib/vendor/maplibre-elevation-profile/elevationprofile.ts without HTML encoding or icon validation. A victim viewing the elevation profile executes the attacker-controlled script in their browser. Separately, federated waypoints can deliver the same malicious fields across instances without requiring the attacker to have a local account on the receiving instance. The script can expose session data or perform actions in the victim's context. This issue is fixed in version 0.19.3.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.6, EPSS 0.3% (percentile 17).
Versioni da aggiornare
- open-wanderer wanderer: vulnerabile la versione
< 0.19.3→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| open-wanderer | wanderer | < 0.19.3 | — |
Riferimenti
- Riferimentohttps://github.com/open-wanderer/wanderer/commit/6135332ea69a3d9a4fe1dec5af1cb1ee74f70e2b
- Riferimentohttps://github.com/open-wanderer/wanderer/pull/1093
- Riferimentohttps://github.com/open-wanderer/wanderer/releases/tag/v0.19.3
- Riferimentohttps://github.com/open-wanderer/wanderer/security/advisories/GHSA-m7v2-6gj3-3g2p
- Riferimentohttps://github.com/open-wanderer/wanderer/security/advisories/GHSA-m7v2-6gj3-3g2p