auth.wikimedia.org has restricted functionality and no user JS, so it doesn't need to support external resources and could just use an aggressive CSP (e.g. no eval, no external domains other than the canonical domain). Since the XSS threat surface is much smaller than for normal wikis, this is low stakes, but could be an easy-to-implement defense in depth (and also a marginal performance improvement - our standard CSP headers are now at 3K).
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T28508 Content Security Policy (CSP) | |||
| Open | None | T419684 Add restrictive CSP to auth.wikimedia.org |
Event Timeline
Comment Actions
Moving to needs refinement as it requires a discussion on whether we're doing this this quarter.