Page MenuHomePhabricator

sbassett (Scott Bassett)
Staff Security EngineerAdministrator

Today

  • No visible events.

Tomorrow

  • No visible events.

Monday

  • No visible events.

User Details

User Since
Sep 12 2018, 3:52 PM (403 w, 3 d)
Roles
Administrator
Availability
Available
IRC Nick
sbassett
LDAP User
SBassett
MediaWiki User
SBassett (WMF) [ Global Accounts ]

Member of the Security-Team. My user-sbassett board should be fairly up-to-date, though we also track some other work within Asana these days.

Recent Activity

Wed, Jun 3

sbassett reopened Restricted Task, a subtask of T422405: Surface externally managed Wikibase OAD in the REST Sandbox for projects where it is enabled, as In Progress.
Wed, Jun 3, 10:01 PM · MW-Interfaces-Team (MWI-Sprint-35 (2026-06-02 to 2026-06-16)), Wikidata, MediaWiki-REST-API, OKR-Work
sbassett closed Restricted Task, a subtask of T422405: Surface externally managed Wikibase OAD in the REST Sandbox for projects where it is enabled, as Resolved.
Wed, Jun 3, 10:00 PM · MW-Interfaces-Team (MWI-Sprint-35 (2026-06-02 to 2026-06-16)), Wikidata, MediaWiki-REST-API, OKR-Work
sbassett updated subscribers of T428074: Ensure current privilege elevation restrictions within WikimediaCustomizations are ported over to new core reauth system.
Wed, Jun 3, 3:45 PM · MediaWiki-Platform-Team, WikimediaCustomizations, MediaWiki-Core-AuthManager
sbassett closed T419152: Editing user JS/CSS pages of another user should require elevated security as Resolved.

Reopen. Such feature should live in MediaWiki core, similar to T197137: Editing sitewide JS/CSS pages should require elevated security.

Wed, Jun 3, 3:45 PM · MediaWiki-Platform-Team (Radar), Sustainability (Incident Followup), 2026-user-javascript-incident, Product Safety and Integrity, Security, MediaWiki-Core-AuthManager
sbassett closed T419152: Editing user JS/CSS pages of another user should require elevated security, a subtask of T197160: All security-sensitive MediaWiki functionality should require elevated security, as Resolved.
Wed, Jun 3, 3:44 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
sbassett added a subtask for T197160: All security-sensitive MediaWiki functionality should require elevated security: T428074: Ensure current privilege elevation restrictions within WikimediaCustomizations are ported over to new core reauth system.
Wed, Jun 3, 3:43 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
sbassett added a parent task for T428074: Ensure current privilege elevation restrictions within WikimediaCustomizations are ported over to new core reauth system: T197160: All security-sensitive MediaWiki functionality should require elevated security.
Wed, Jun 3, 3:43 PM · MediaWiki-Platform-Team, WikimediaCustomizations, MediaWiki-Core-AuthManager
sbassett created T428074: Ensure current privilege elevation restrictions within WikimediaCustomizations are ported over to new core reauth system.
Wed, Jun 3, 3:43 PM · MediaWiki-Platform-Team, WikimediaCustomizations, MediaWiki-Core-AuthManager
sbassett added a comment to T428064: Security Issue Access Request for Cparle.

Confirmed @Cparle has Phab 2fa enabled. @Cparle - could you also get your manager to comment here saying they approve this access request? Thanks.

Wed, Jun 3, 3:19 PM · Product Safety and Integrity, Security-Team, Security

Tue, Jun 2

sbassett added a comment to T117618: Add restrictive CSP to upload.wikimedia.org.

@sbassett: Thanks for the patch; confirming that the plan is Report-Only and then full rollout eventually with the same policy? I am asking so that we can clean it up in VCL a bit and maintain it a bit better.

Tue, Jun 2, 5:47 PM · Patch-For-Review, Traffic, ContentSecurityPolicy, WMF-General-or-Unknown, Security-Team
sbassett changed the status of Restricted Task, a subtask of T423914: 1.47.0-wmf.5 deployment blockers, from Open to In Progress.
Tue, Jun 2, 3:18 PM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments

Mon, Jun 1

sbassett added a comment to T117618: Add restrictive CSP to upload.wikimedia.org.

Revisiting this over the past month, it looks like we're receiving, on average, ~ 2500 report-only reports each day for the current upload.wikimedia.org CSP config:

Screenshot 2026-06-01 at 4.37.54 PM.png (264×587 px, 19 KB)

@ssingh - I think we should remove the restrictions/filters and just serve this for report-only policy across all of upload.wikimedia.org for all media files for a few days. And then ultimately set it as an enforcing CSP. At this point I'm not seeing any compelling reason not to aggressively move forward with this either in the comments here or CSP report-only log data.

Mon, Jun 1, 9:48 PM · Patch-For-Review, Traffic, ContentSecurityPolicy, WMF-General-or-Unknown, Security-Team
sbassett merged T239068: Set CSP to enforce across all of upload.wikimedia.org into T117618: Add restrictive CSP to upload.wikimedia.org.
Mon, Jun 1, 3:14 PM · Patch-For-Review, Traffic, ContentSecurityPolicy, WMF-General-or-Unknown, Security-Team
sbassett moved T239068: Set CSP to enforce across all of upload.wikimedia.org from Wikimedia CSP exceptions / config to Done on the ContentSecurityPolicy board.
Mon, Jun 1, 3:14 PM · ContentSecurityPolicy
sbassett merged task T239068: Set CSP to enforce across all of upload.wikimedia.org into T117618: Add restrictive CSP to upload.wikimedia.org.
Mon, Jun 1, 3:14 PM · ContentSecurityPolicy
sbassett closed T239065: Have final CSP policy for upload.wikimedia.org be in report-only mode for all projects, a subtask of T117618: Add restrictive CSP to upload.wikimedia.org, as Declined.
Mon, Jun 1, 3:13 PM · Patch-For-Review, Traffic, ContentSecurityPolicy, WMF-General-or-Unknown, Security-Team
sbassett closed T239065: Have final CSP policy for upload.wikimedia.org be in report-only mode for all projects as Declined.

I think this should be declined for now as I'm not sure what the original intention was here and it seems to contradict T239068 and T117618 which, IMO, are the preferred tasks at this point in time.

Mon, Jun 1, 3:13 PM · ContentSecurityPolicy

Thu, May 28

sbassett added a project to T420120: Add OpenHistoricalMap support to Wikipedia articles with interactive map features (GlobStory userscript): SecTeam-Processed.
Thu, May 28, 4:46 PM · SecTeam-Processed, ContentSecurityPolicy, Wikimedia-Hackathon-2026
sbassett closed T420120: Add OpenHistoricalMap support to Wikipedia articles with interactive map features (GlobStory userscript), a subtask of T419265: CSP adjustments related to the 2026 user javascript incident, as Declined.
Thu, May 28, 4:46 PM · Sustainability (Incident Followup), User-notice, 2026-user-javascript-incident, Product Safety and Integrity, ContentSecurityPolicy
sbassett closed T420120: Add OpenHistoricalMap support to Wikipedia articles with interactive map features (GlobStory userscript) as Declined.

We are also exploring an alternative solution during the hackathon: serving the required assets from a locked-down proxy running in Toolforge. Source code: https://gitlab.wikimedia.org/toolforge-repos/globstory-ohm-proxy

Thu, May 28, 4:46 PM · SecTeam-Processed, ContentSecurityPolicy, Wikimedia-Hackathon-2026
sbassett updated subscribers of T427023: Improve safe mode feature for better security.

Improved privacy - We can disable data collection for users who have explicitly enabled user scripts (which might lead to them being more identifiable in anonymized data)

Thu, May 28, 4:20 PM · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Security, SecTeam-Processed, Patch-For-Review, Product Safety and Integrity, Security-Team
sbassett added a comment to T40417: MediaWiki's anonymous edit token leaves wiki installations (incl. Wikipedia) open to mass anonymous spam we can't block.

I removed the note about the demo revealing your IP address since Temporary Accounts are a thing now, so the IP isn't revealed anymore.

Thu, May 28, 3:39 PM · Patch-Needs-Improvement, MediaWiki-Platform-Team, SecTeam-Processed, Vuln-CSRF, Security, MediaWiki-Core-AuthManager
sbassett added a comment to T40417: MediaWiki's anonymous edit token leaves wiki installations (incl. Wikipedia) open to mass anonymous spam we can't block.

@Mr._Starfleet_Command - Was there a reason to remove that warning? I think it's still probably valid.

Thu, May 28, 3:31 PM · Patch-Needs-Improvement, MediaWiki-Platform-Team, SecTeam-Processed, Vuln-CSRF, Security, MediaWiki-Core-AuthManager

Wed, May 27

sbassett added a comment to T197160: All security-sensitive MediaWiki functionality should require elevated security.

T123243 "Ability to alert when we get a sudden increase in bad passwords for privileged accounts" in this task under "

Wed, May 27, 8:08 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
sbassett added a comment to T427398: Unable to edit pages on Mediawiki namespace on 1.47.0-wmf.4, redirects to Verify your Identity page.

Just to confirm: this does not appear to be affecting all wikis. When I try similar actions on enwiki, the reauth prompts work as expected for me.

Wed, May 27, 2:40 PM · MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, Regression, Product Safety and Integrity, MediaWiki-User-login-and-signup

Tue, May 26

sbassett moved T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge from In Progress to Our Part Is Done on the Security-Team board.
Tue, May 26, 4:54 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team
sbassett changed the edit policy for T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge.
Tue, May 26, 4:53 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team
sbassett updated the task description for T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge.
Tue, May 26, 4:53 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team
sbassett changed the status of T427023: Improve safe mode feature for better security from Open to In Progress.
Tue, May 26, 4:46 PM · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Security, SecTeam-Processed, Patch-For-Review, Product Safety and Integrity, Security-Team
sbassett moved T426804: filerevision view should not filter out deleted file revisions from Incoming to Watching on the Privacy Engineering board.

I'd say if Privacy Engineering team is happy, I have no objections.

Tue, May 26, 4:42 PM · DBA, SecTeam-Processed, Privacy Engineering, cloud-services-team, Data-Services
sbassett edited projects for T426917: Display another warning message when renaming an account to a username whose user page has existing JS/CSS subpages, added: SecTeam-Processed; removed Product Safety and Integrity.
Tue, May 26, 4:30 PM · SecTeam-Processed, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename, Security, Security-Team
sbassett removed a member for acl*security_volunteer: Paladox.
Tue, May 26, 4:23 PM
sbassett removed a member for acl*security_volunteer: Superpes15.
Tue, May 26, 4:20 PM
sbassett changed the status of Restricted Task, a subtask of T197160: All security-sensitive MediaWiki functionality should require elevated security, from Open to In Progress.
Tue, May 26, 4:05 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager
sbassett moved T241921: Fix Wikimedia captchas from Watching to Our Part Is Done on the Security-Team board.
Tue, May 26, 3:28 PM · Bot detection and mitigation, Security, Security-Team, Stewards-and-global-tools, ConfirmEdit (CAPTCHA extension), UX-Debt, Accessibility, Epic

Thu, May 21

sbassett set Author Affiliation to product on T426917: Display another warning message when renaming an account to a username whose user page has existing JS/CSS subpages.
Thu, May 21, 3:29 PM · SecTeam-Processed, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename, Security, Security-Team
sbassett removed a project from T183212: Javascript and CSS pages redirected after rename can be taken over by a newly registered user with the old name: Patch-For-Review.
Thu, May 21, 3:28 PM · MediaWiki-Platform-Team (Kanban Board), Security, Restricted Project, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename
sbassett changed the visibility for T183212: Javascript and CSS pages redirected after rename can be taken over by a newly registered user with the old name.
Thu, May 21, 3:28 PM · MediaWiki-Platform-Team (Kanban Board), Security, Restricted Project, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename
sbassett added a comment to T183212: Javascript and CSS pages redirected after rename can be taken over by a newly registered user with the old name.

I filed T426917 for that follow-up work. I may not have the time to work on this, but I think it's fine to leave it unimplemented.

@sbassett I think we can make this task public, right?

Thu, May 21, 3:26 PM · MediaWiki-Platform-Team (Kanban Board), Security, Restricted Project, MediaWiki-extensions-CentralAuth, MediaWiki-User-rename

Wed, May 20

sbassett updated subscribers of T207557: Don't count initial login as valid for any operation that requires reauth.

(for the record, I assume that this was marked as resolved due to https://gerrit.wikimedia.org/r/c/mediawiki/core/+/471664 being merged on 2026-05-19. it seems like @gerritbot didn't comment about it here for some reason)

Wed, May 20, 2:07 PM · User-notice, MediaWiki-Platform-Team (Radar), Product Safety and Integrity, Security, Patch-For-Review, Restricted Project, MediaWiki-Core-AuthManager

Tue, May 19

sbassett removed a project from T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation: Patch-For-Review.
Tue, May 19, 9:20 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett closed T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation as Resolved.

And this is fixed.

Tue, May 19, 9:20 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett updated subscribers of T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge.
Tue, May 19, 3:10 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team

Mon, May 18

sbassett moved T426474: Application Security Review Request : Foundation-supported WordPress installations from Incoming to Back Orders on the secscrum board.
Mon, May 18, 4:44 PM · wikimediafoundation.org, Diff-blog, secscrum, Security, Application Security Reviews
sbassett added a comment to T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge.

As discussed at today's clinic, @Catrope et al are fine with this going through gerrit now, as we should not be blocked on any communications issues.

Mon, May 18, 4:15 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team

Fri, May 15

sbassett added a comment to T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation.

@ssingh - It's that, with current MW config, we should be seeing both the report-to directive in the CSP policy (and corresponding report endpoint) and the report-uri directive. We are currently seeing the correct report-to directive (and corresponding report endpoint) everywhere now (not as I had previously reported). This shouldn't really have anything to do with the report-to header.

Fri, May 15, 8:34 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett added a comment to T426466: SecurePoll should reject votes with CSRF issues.

I think we can make this ticket public. The fact that securepoll can detect csrf abnormalities is not a secret and can be found in our public source code. And i don't think there's an exploit here, just a proposal to get rid of a not very helpful scrutineering signal by changing/improving the design.

Fri, May 15, 8:15 PM · Vuln-CSRF, MediaWiki-extensions-SecurePoll, Product Safety and Integrity, Security
sbassett added a comment to T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge.

I don't see why this and the other related patches cannot just go through gerrit as code hardening efforts. The incident is resolved, the account recovery process is still disabled and we will be putting in place a much stronger account recovery process early next week.

Fri, May 15, 3:07 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team
sbassett removed projects from T332003: Evaluate StopForumSpam operations in es.wikiversity: Product Safety and Integrity, Security-Team.
Fri, May 15, 3:04 PM · Spanish-Sites, SecTeam-Processed, Stewards-and-global-tools, MediaWiki-extensions-StopForumSpam

Thu, May 14

sbassett set Author Affiliation to community on T426355: Software security issues.
Thu, May 14, 10:04 PM · Trash
sbassett closed T426355: Software security issues as Invalid.
Thu, May 14, 10:04 PM · Trash
sbassett updated subscribers of T426323: CX dashboard can't load page collections on some wikis (blocked by CORS).

@ssingh @kostajh - Could this be due to the same cause as the recent, similar issues for hCaptcha scripts?

Thu, May 14, 9:32 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), ServiceOps new, ServiceOps-SharedInfra, SecTeam-Processed, Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), Traffic, LPL Hypothesis, Security-Team, ContentTranslation
sbassett added a project to T426323: CX dashboard can't load page collections on some wikis (blocked by CORS): Content-Transform-Team.
Thu, May 14, 9:30 PM · MW-1.47-notes (1.47.0-wmf.4; 2026-05-26), ServiceOps new, ServiceOps-SharedInfra, SecTeam-Processed, Product Safety and Integrity (Sprint lily-of-the-valley (May 4 - May 22)), Traffic, LPL Hypothesis, Security-Team, ContentTranslation
sbassett added a comment to T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation.

Well, this has had an impact on CSP reports:

Screenshot 2026-05-14 at 10.09.39 AM.png (290×580 px, 24 KB)

Thu, May 14, 3:10 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett changed the visibility for T425800: AccountRecovery description field should be delimited in Zendesk ticket.
Thu, May 14, 3:07 PM · MediaWiki-extensions-EmailAuth, MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), SecTeam-Processed, Product Safety and Integrity, Security, Security-Team
sbassett moved T425800: AccountRecovery description field should be delimited in Zendesk ticket from In Progress to Our Part Is Done on the Security-Team board.
Thu, May 14, 3:07 PM · MediaWiki-extensions-EmailAuth, MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), SecTeam-Processed, Product Safety and Integrity, Security, Security-Team
sbassett closed T425800: AccountRecovery description field should be delimited in Zendesk ticket as Resolved.
Thu, May 14, 3:06 PM · MediaWiki-extensions-EmailAuth, MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), SecTeam-Processed, Product Safety and Integrity, Security, Security-Team

Wed, May 13

sbassett closed T426148: Add cwilliams@wikimedia.org to security@wikimedia.org as Resolved.

Confirmed user is new WMF staff. Added to securtiy@.

Wed, May 13, 3:51 PM · SecTeam-Processed, Security-Team
sbassett updated subscribers of T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation.

So looking at mediawiki.org - when logged out, I get the old report-uri directive and no reporting-endpoints header. When logged in, I only get the report-to directive and the correct reporting-endpoints header. I understood that the current config should be setting both directives in both situations. @ssingh, @Bawolff - any thoughts on what might be happening here? I find the behavior confusing, since we should no longer be setting CSP via any session-related flags/values or $wgExtensionFunctions.

Wed, May 13, 3:11 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy

Tue, May 12

sbassett added a comment to T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation.

This works fine for me testing locally with MediaWiki master and MediaWiki-docker:

local http headers
content-security-policy: script-src 'unsafe-eval' blob: 'self' localhost localhost:* 127.0.0.1 127.0.0.1: 'unsafe-inline'; default-src 'self' data: blob: localhost localhost:* 127.0.0.1 127.0.0.1:; style-src 'self' data: blob: localhost localhost:* 127.0.0.1 127.0.0.1: 'unsafe-inline'; object-src 'none'; report-uri /w/api.php?action=cspreport&format=json; report-to csp-report-to-endpoint
...
reporting-endpoints: csp-report-to-endpoint='/w/api.php?action=cspreport&format=json';

And the extensive unit tests that account for multiple config scenarios still appear to be correct and passing.

Tue, May 12, 8:33 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett reopened T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation as "Open".

This is in production now, at least on group0 and group1. And report-uri should be configured as a default:

mwscript shell.php
> print_r( $wmgCSPUseReportURIDirective );
= true
Tue, May 12, 8:11 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett added a comment to T420604: Deduplicate CSP between VCL and MediaWiki.

Sorry to necro but are we interested in deduplication of CSP in upload as well? T117618 included some for testwiki but I wonder if that should also be removed from the CDN.

Tue, May 12, 3:46 PM · Traffic, Sustainability (Incident Followup), SecTeam-Processed, ContentSecurityPolicy, 2026-user-javascript-incident, Product Safety and Integrity, Security, Security-Team

Mon, May 11

sbassett moved T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation from Security Patch To Deploy to Our Part Is Done on the Security-Team board.
Mon, May 11, 9:12 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett closed T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation as Resolved.
Mon, May 11, 9:12 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett moved T425800: AccountRecovery description field should be delimited in Zendesk ticket from Inbox to Triaged (backlog) on the Product Safety and Integrity board.
Mon, May 11, 4:33 PM · MediaWiki-extensions-EmailAuth, MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), SecTeam-Processed, Product Safety and Integrity, Security, Security-Team
sbassett changed the status of T425800: AccountRecovery description field should be delimited in Zendesk ticket from Open to In Progress.
Mon, May 11, 4:32 PM · MediaWiki-extensions-EmailAuth, MW-1.47-notes (1.47.0-wmf.3; 2026-05-19), SecTeam-Processed, Product Safety and Integrity, Security, Security-Team
sbassett assigned T425759: Security Issue Access Request for CWilliams-WMF to aranyap.
Mon, May 11, 4:26 PM · SecTeam-Processed, Security-Team, Security
sbassett changed the status of T425759: Security Issue Access Request for CWilliams-WMF from Open to In Progress.
Mon, May 11, 4:25 PM · SecTeam-Processed, Security-Team, Security
sbassett changed the status of T425796: Special:AccountRecovery should verify that there was an EmailAuth challenge from Open to In Progress.
Mon, May 11, 4:24 PM · MediaWiki-extensions-EmailAuth, SecTeam-Processed, Security, Security-Team
sbassett triaged T424285: Flow ships Handlebars 3.0.0 with known security vulnerabilities as Low priority.
Mon, May 11, 4:17 PM · Vuln-VulnComponent, SecTeam-Processed, Security-Team, Security, StructuredDiscussions
sbassett removed projects from T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation: Patch-For-Review, Product Safety and Integrity.
Mon, May 11, 4:15 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett moved T424058: Properly set the Reporting-Endpoints header and the report-to directive via MediaWiki's CSP implementation from In Progress to Security Patch To Deploy on the Security-Team board.
Mon, May 11, 4:14 PM · MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), SecTeam-Processed, Security-Team, ContentSecurityPolicy
sbassett updated subscribers of T425759: Security Issue Access Request for CWilliams-WMF.

I've confirmed that @CWilliams-WMF has Phab 2fa enabled. Just need to confirm this access request (@Rsilvola @EMill-WMF)

Mon, May 11, 4:03 PM · SecTeam-Processed, Security-Team, Security
sbassett triaged T424553: Fix fr_deleted drifts in WMF production as Medium priority.
Mon, May 11, 1:53 PM · Commons, MediaWiki-File-management, MW-1.46-notes, MW-1.45-notes, MW-1.44-notes, MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), DBA, SecTeam-Processed, Security

May 6 2026

sbassett moved T278472: UploadWizard should add Flickr API to Content Security Policy when required from Backlog to In Progress on the ContentSecurityPolicy board.
May 6 2026, 5:50 PM · Patch-For-Review, Security-Team, SecTeam-Processed, ContentSecurityPolicy, UploadWizard
sbassett moved T278472: UploadWizard should add Flickr API to Content Security Policy when required from Done to Backlog on the ContentSecurityPolicy board.
May 6 2026, 5:33 PM · Patch-For-Review, Security-Team, SecTeam-Processed, ContentSecurityPolicy, UploadWizard
sbassett moved T418507: Move wmfGetPrivilegedGroups(), $wmgPrivilegedGroups, $wmgPrivilegedGlobalGroups, GetSecurityLogContext and PasswordPoliciesForUser hook handlers to WikimediaCustomizations from Inbox to Done (waiting deployment) on the Product Safety and Integrity board.
May 6 2026, 3:41 PM · SecTeam-Processed, MW-1.47-notes (1.47.0-wmf.2; 2026-05-12), MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Platform-Team (Kanban Board), WikimediaCustomizations, WMF-General-or-Unknown, Product Safety and Integrity
sbassett moved T327588: Consider adding more CSP directives to MediaWIki core from Wikimedia policy to Wikimedia CSP exceptions / config on the ContentSecurityPolicy board.
May 6 2026, 3:37 PM · Patch-For-Review, MediaWiki-General, Security, ContentSecurityPolicy
sbassett moved T239077: Define policy aspects of CSP on wiki from Wikimedia policy to Wikimedia CSP exceptions / config on the ContentSecurityPolicy board.
May 6 2026, 3:37 PM · Privacy Engineering, Documentation, Privacy, ContentSecurityPolicy
sbassett moved T130748: Add Content-Security-Policy header enforcing 3rd party web interaction restrictions to proxy responses from Backlog to Wikimedia CSP exceptions / config on the ContentSecurityPolicy board.
May 6 2026, 3:35 PM · ContentSecurityPolicy, cloud-services-team, Toolforge
sbassett moved T28508: Content Security Policy (CSP) from Backlog to In Progress on the ContentSecurityPolicy board.
May 6 2026, 3:34 PM · SecTeam-Processed, Epic, Security, ContentSecurityPolicy, Front-end-Standards-Group, Security-Team, OKR-Work, MediaWiki-General
sbassett moved T211971: Check for maps features that might be affected with CSP policy from Backlog to Wikimedia CSP exceptions / config on the ContentSecurityPolicy board.
May 6 2026, 3:34 PM · Patch-Needs-Improvement, Maps (Kartographer), ContentSecurityPolicy, Product-Infrastructure-Team-Backlog-Deprecated
sbassett changed the status of T248278: Wikibase doesn't respect Kartographer's addExtraCSPSrc from Declined to Resolved.
May 6 2026, 3:34 PM · SecTeam-Processed, MediaWiki-extensions-Wikibase-Client, ContentSecurityPolicy, Maps (Kartographer), MediaWiki-extensions-Wikibase-Repo, Wikidata
sbassett added a comment to T248278: Wikibase doesn't respect Kartographer's addExtraCSPSrc.

Maybe this already got resolved in the meantime?

May 6 2026, 3:33 PM · SecTeam-Processed, MediaWiki-extensions-Wikibase-Client, ContentSecurityPolicy, Maps (Kartographer), MediaWiki-extensions-Wikibase-Repo, Wikidata
sbassett closed T248278: Wikibase doesn't respect Kartographer's addExtraCSPSrc as Declined.
May 6 2026, 3:30 PM · SecTeam-Processed, MediaWiki-extensions-Wikibase-Client, ContentSecurityPolicy, Maps (Kartographer), MediaWiki-extensions-Wikibase-Repo, Wikidata
sbassett added a comment to T248278: Wikibase doesn't respect Kartographer's addExtraCSPSrc.

This is currently allowed under the enforcing CSP within both Wikimedia production and the beta cluster. So @Bawolff's code suggestion isn't really relevant at this time as:

(Because CSP is not in use yet, but also the plan is to whitelist all of *.wikimedia.org just generally)

is no longer accurate, as we are setting an enforcing CSP in Wikimedia production and the beta cluster, and we are allowing *.wikimedia.org, likely indefinitely. And while rolled out in haste due to 2026-user-javascript-incident, an enforcing CSP was always a desired goal of Product Safety and Integrity and not something that we envision as a temporary solution at this time.

May 6 2026, 3:29 PM · SecTeam-Processed, MediaWiki-extensions-Wikibase-Client, ContentSecurityPolicy, Maps (Kartographer), MediaWiki-extensions-Wikibase-Repo, Wikidata
sbassett moved T249486: Change Content Security Policy on betacommons to allow api.flickr.com from Watching to Our Part Is Done on the Security-Team board.
May 6 2026, 3:25 PM · SecTeam-Processed, UploadWizard, Security-Team, ContentSecurityPolicy, Wikimedia-Site-requests, Beta-Cluster-Infrastructure
sbassett moved T245424: Consider adding base-uri 'none' to mediawiki csp policy from Backlog to Wikimedia CSP exceptions / config on the ContentSecurityPolicy board.
May 6 2026, 3:25 PM · ContentSecurityPolicy
sbassett closed T249486: Change Content Security Policy on betacommons to allow api.flickr.com as Resolved.

This is currently allowed under the enforcing CSP within both Wikimedia production and the beta cluster. But that may not always be the case. Regardless, this is an exception that will likely always require some kind of work-around.

May 6 2026, 3:25 PM · SecTeam-Processed, UploadWizard, Security-Team, ContentSecurityPolicy, Wikimedia-Site-requests, Beta-Cluster-Infrastructure
sbassett closed T254698: Disallow external JavaScripts at svwiki as Resolved.

We are now enforcing CSP within Wikimedia production, though with a generous allow-list, for the time being: https://github.com/wikimedia/operations-mediawiki-config/blob/35f7e4c45a33a22f171c721d6c24d18f127d36fb/wmf-config/InitialiseSettings.php#L12892-L12969. We plan to tighten up this policy over the coming months in Wikimedia production.

May 6 2026, 3:22 PM · SecTeam-Processed, Wikimedia-Site-requests, ContentSecurityPolicy
sbassett closed T264196: CSP blocking favicon.ico, a subtask of T28508: Content Security Policy (CSP), as Resolved.
May 6 2026, 3:19 PM · SecTeam-Processed, Epic, Security, ContentSecurityPolicy, Front-end-Standards-Group, Security-Team, OKR-Work, MediaWiki-General
sbassett closed T264196: CSP blocking favicon.ico as Resolved.

No longer seeing this as an issue in recent versions of Chrome and Firefox. Possibly fixed within some previous CSP improvement or config patch?

May 6 2026, 3:19 PM · SecTeam-Processed, WMF-General-or-Unknown, Security, ContentSecurityPolicy
sbassett moved T419237: Adopt process (or migrations) to ensure tools and scripts acessing "external" resources not unduly impacted by CSP changes. from Backlog to CSP allow-list functionality on the ContentSecurityPolicy board.
May 6 2026, 3:16 PM · Sustainability (Incident Followup), 2026-user-javascript-incident, Product Safety and Integrity, ContentSecurityPolicy
sbassett moved T270095: add Widgets extension compatibility with $wgCSPHeader CSP Content Security Policy from Backlog to CSP allow-list functionality on the ContentSecurityPolicy board.
May 6 2026, 3:16 PM · Patch-For-Review, ContentSecurityPolicy, MediaWiki-extensions-Widgets
sbassett moved T208188: RFC: Partial opt-out method for Content security policy from Backlog to CSP allow-list functionality on the ContentSecurityPolicy board.
May 6 2026, 3:16 PM · MediaWiki-General, Security, ContentSecurityPolicy, Security-Team
sbassett moved T419934: Allow gadgets to define own CSP allowlist entries from Backlog to CSP allow-list functionality on the ContentSecurityPolicy board.
May 6 2026, 3:16 PM · MediaWiki-extensions-Gadgets, ContentSecurityPolicy
sbassett removed a project from T278472: UploadWizard should add Flickr API to Content Security Policy when required: Product Safety and Integrity.
May 6 2026, 3:13 PM · Patch-For-Review, Security-Team, SecTeam-Processed, ContentSecurityPolicy, UploadWizard
sbassett added projects to T278472: UploadWizard should add Flickr API to Content Security Policy when required: SecTeam-Processed, Security-Team.
May 6 2026, 3:13 PM · Patch-For-Review, Security-Team, SecTeam-Processed, ContentSecurityPolicy, UploadWizard
sbassett closed T278472: UploadWizard should add Flickr API to Content Security Policy when required, a subtask of T249486: Change Content Security Policy on betacommons to allow api.flickr.com, as Resolved.
May 6 2026, 3:13 PM · SecTeam-Processed, UploadWizard, Security-Team, ContentSecurityPolicy, Wikimedia-Site-requests, Beta-Cluster-Infrastructure
sbassett closed T278472: UploadWizard should add Flickr API to Content Security Policy when required as Resolved.

This is currently allowed under the enforcing CSP within Wikimedia production: https://github.com/wikimedia/operations-mediawiki-config/blob/35f7e4c45a33a22f171c721d6c24d18f127d36fb/wmf-config/InitialiseSettings.php#L12892-L12969. But that may not always be the case. Regardless, this is an exception that will likely always require some kind of work-around.

May 6 2026, 3:12 PM · Patch-For-Review, Security-Team, SecTeam-Processed, ContentSecurityPolicy, UploadWizard