Page MenuHomePhabricator

Add overpass-api.de (OSM) and api.openrouteservice.org to Wikimedia's CSP allowlist (for en.wikivoyage gadgets)
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

CSP error is reported when the gadget tries to access the endpoints.

What should have happened instead?:

  • Maptool should be able to query OSM POIs via the overpass API
  • TripPlanner should be able to query openrouteservice to either get list of routes, or optimize order of POIs

Both services are +- free and I assume safe (although in general, probably XSS could happen with some forged data in their databases, in case the returned stuff was not properly sanitized)...

Event Timeline

A_smart_kitten renamed this task from overpass-api.de (OSM) and api.openrouteservice.org to Add overpass-api.de (OSM) and api.openrouteservice.org to Wikimedia's CSP allowlist (for en.wikivoyage gadgets).Mar 8 2026, 8:33 PM
A_smart_kitten updated the task description. (Show Details)

Change #1249348 had a related patch set uploaded (by SBassett; author: SBassett):

[operations/puppet@production] Allow-list some additional domains to the currently enforcing CSP

https://gerrit.wikimedia.org/r/1249348

Change #1249348 merged by Scott French:

[operations/puppet@production] Allow-list some additional domains to the currently enforcing CSP

https://gerrit.wikimedia.org/r/1249348

Hey all -

  • overpass-api.de
  • api.openrouteservice.org

should now be allowed within Wikimedia projects CSP.

sbassett claimed this task.
sbassett triaged this task as Medium priority.
sbassett moved this task from Backlog to Done on the ContentSecurityPolicy board.