Page MenuHomePhabricator

SomeRandomDeveloper
Volunteer Developer

Today

  • No visible events.

Tomorrow

  • No visible events.

Thursday

  • No visible events.

User Details

User Since
Oct 30 2024, 11:26 PM (54 w, 5 d)
Availability
Available
IRC Nick
SomeRandomDev
LDAP User
SomeRandomDeveloper
MediaWiki User
SomeRandomDeveloper [ Global Accounts ]

Recent Activity

Fri, Nov 14

SomeRandomDeveloper renamed T410179: cleanupImages.php causes data loss when using swift as the file backend from cleanupImages.php leads to data loss when using swift as the file backend to cleanupImages.php causes data loss when using swift as the file backend.
Fri, Nov 14, 10:21 PM · Commons, MediaWiki-File-management, affects-Miraheze
SomeRandomDeveloper created T410179: cleanupImages.php causes data loss when using swift as the file backend.
Fri, Nov 14, 10:21 PM · Commons, MediaWiki-File-management, affects-Miraheze

Tue, Nov 11

SomeRandomDeveloper closed T409073: Section links with [square brackets] in edit summaries lead nowhere as Resolved.

This was fixed today.

Tue, Nov 11, 12:11 AM · Regression, MediaWiki-General

Mon, Nov 10

SomeRandomDeveloper closed T398136: NoSuchServiceException when replying comments as Resolved.
Mon, Nov 10, 9:47 PM · MediaWiki-extensions-CommentStreams
SomeRandomDeveloper added a comment to T409489: Move translation updates for Monaco from Github to Gerrit.

dynamic-links appears to be used to create links (similarly to MediaWiki:Sidebar), so renaming that message would break the feature on all wikis using it.

Mon, Nov 10, 4:02 PM · Patch-For-Review, LPL Projects (Other), Unplanned-Sprint-Work, LPL Essential (FY26 Q2), translatewiki.net
SomeRandomDeveloper added a comment to T409489: Move translation updates for Monaco from Github to Gerrit.

Will the GitHub repository be marked read-only? In any case, we can start by removing the github config for now.

Mon, Nov 10, 3:59 PM · Patch-For-Review, LPL Projects (Other), Unplanned-Sprint-Work, LPL Essential (FY26 Q2), translatewiki.net
SomeRandomDeveloper merged T405769: No such service: ICommentStreamsStore into T398136: NoSuchServiceException when replying comments.
Mon, Nov 10, 3:51 PM · MediaWiki-extensions-CommentStreams
SomeRandomDeveloper merged task T405769: No such service: ICommentStreamsStore into T398136: NoSuchServiceException when replying comments.
Mon, Nov 10, 3:50 PM · MediaWiki-extensions-CommentStreams
SomeRandomDeveloper reopened T398136: NoSuchServiceException when replying comments as "Open".

This needs a backport for 1.44: https://github.com/wikimedia/mediawiki-extensions-CommentStreams/blob/REL1_44/includes/Notifier/EchoNotifier.php#L175

Mon, Nov 10, 3:50 PM · MediaWiki-extensions-CommentStreams
SomeRandomDeveloper closed T409658: "PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated" logspam caused by Cosmos as Resolved.
Mon, Nov 10, 3:48 PM · MW-1.45-release, MW-1.44-release, PHP 8.1 support, affects-Miraheze, Cosmos
SomeRandomDeveloper added a comment to T295568: Support single HTML tags in mediawiki.jqueryMsg.

To test whether this change breaks anything, I've run core's en.json through jqueryMsg both with and without my patch, and when comparing the two, there were no changes. Meanwhile, <br> and the other two tags now work fine for me.
Code for testing:

(function() {
  const jQueryParse = function(input, params) {
    mw.messages.set('foo', input);
    return mw.message('foo', params).parse();
  };
  $.getJSON("https://raw.githubusercontent.com/wikimedia/mediawiki/refs/heads/master/languages/i18n/en.json").done((data) => {
    delete data["@metadata"];
    const parsed = {};
    for (const [key, value] of Object.entries(data)) {
      parsed[key] = jQueryParse(value);
    }
    console.log(JSON.stringify(parsed));
  });
})();
Mon, Nov 10, 1:30 PM · MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), JavaScript, MediaWiki-Internationalization
SomeRandomDeveloper claimed T295568: Support single HTML tags in mediawiki.jqueryMsg.
Mon, Nov 10, 12:46 PM · MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), JavaScript, MediaWiki-Internationalization

Sun, Nov 9

SomeRandomDeveloper placed T409658: "PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated" logspam caused by Cosmos up for grabs.
Sun, Nov 9, 1:07 PM · MW-1.45-release, MW-1.44-release, PHP 8.1 support, affects-Miraheze, Cosmos
SomeRandomDeveloper created T409658: "PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated" logspam caused by Cosmos.
Sun, Nov 9, 1:02 PM · MW-1.45-release, MW-1.44-release, PHP 8.1 support, affects-Miraheze, Cosmos
SomeRandomDeveloper closed T401998: ImageRating: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause as Resolved.
Sun, Nov 9, 12:52 PM · Social-Tools, ImageRating
SomeRandomDeveloper added a comment to T399599: Phantom unread Phabricator notification.

"Mark as read" worked for me yesterday for some reason after it didn't work on Friday, but when I just opened phabricator again, I noticed I have a new unread notification I can't mark as read:

image.png (214×509 px, 12 KB)

This is really weird.

Sun, Nov 9, 12:06 PM · Upstream, Phabricator (Upstream)

Sat, Nov 8

SomeRandomDeveloper added a comment to T409554: Phabricator displays unread ghost notifications that can't be marked as read.

I just tried marking the notifications as read again and this time it worked for some reason. Note sure why that is, but at least I don't have any notifications anymore now

Sat, Nov 8, 7:05 PM · Phabricator

Fri, Nov 7

SomeRandomDeveloper updated the task description for T402038: Remove usages of non-namespaced GlobalVarConfig class alias.
Fri, Nov 7, 11:21 PM · affects-Miraheze, Patch-For-Review, MediaWiki-extensions-General, MW-1.45-notes (1.45.0-wmf.15; 2025-08-19), Technical-Debt, MediaWiki-General
SomeRandomDeveloper added a comment to T408337: Add a change tag for edits made by ReplaceText.

Sure, that sounds good to me - let me know if you want me to do it.

Fri, Nov 7, 5:23 PM · affects-Miraheze, MediaWiki-extensions-ReplaceText
SomeRandomDeveloper updated subscribers of T408337: Add a change tag for edits made by ReplaceText.

@Yaron_Koren do you think we could backport this to 1.43-1.45? Since 1.45 has been cut already it would otherwise take a while for users (especially those using LTS versions) to receive this change

Fri, Nov 7, 4:26 PM · affects-Miraheze, MediaWiki-extensions-ReplaceText
SomeRandomDeveloper added a comment to T409554: Phabricator displays unread ghost notifications that can't be marked as read.

@SomeRandomDeveloper

When we check in the database (query in linked ticket) we see no unread notifications for you. Can you try clearing cache and deleting cookies or using a different browser and see if that makes it go away? It seems possible the state is ok in the database but not shown correctly to you locally.

Fri, Nov 7, 2:41 PM · Phabricator
SomeRandomDeveloper renamed T409554: Phabricator displays unread ghost notifications that can't be marked as read from I have two unread ghost notifications on Phabricator to Phabricator displays unread ghost notifications that can't be marked as read.
Fri, Nov 7, 2:09 PM · Phabricator
SomeRandomDeveloper created T409554: Phabricator displays unread ghost notifications that can't be marked as read.
Fri, Nov 7, 2:08 PM · Phabricator
SomeRandomDeveloper closed T363627: Improve comment logging in S:Log and S:RecentChanges as Resolved.
Fri, Nov 7, 1:59 PM · Regression, affects-Miraheze, MediaWiki-extensions-CommentStreams
SomeRandomDeveloper closed T397582: Recent changes in REL1_43: Special:AllComments no longer available; comments show on both namespace and talk page as Resolved.
Fri, Nov 7, 1:02 PM · Regression, affects-Miraheze, MediaWiki-extensions-CommentStreams

Thu, Nov 6

SomeRandomDeveloper updated subscribers of T409487: Create project tag for Monaco.
Thu, Nov 6, 9:21 PM · Project-Admins
SomeRandomDeveloper created T409489: Move translation updates for Monaco from Github to Gerrit.
Thu, Nov 6, 8:51 PM · Patch-For-Review, LPL Projects (Other), Unplanned-Sprint-Work, LPL Essential (FY26 Q2), translatewiki.net
SomeRandomDeveloper added a comment to T409487: Create project tag for Monaco.

Has this been discussed with the current maintainer?

Thu, Nov 6, 8:47 PM · Project-Admins
SomeRandomDeveloper created T409487: Create project tag for Monaco.
Thu, Nov 6, 8:13 PM · Project-Admins
SomeRandomDeveloper claimed T397704: MMV shows HTML string instead of link in case of multiple authors.
Thu, Nov 6, 5:33 PM · Patch-For-Review, Regression, patch-welcome, Reader Growth Team, MediaViewer

Tue, Nov 4

SomeRandomDeveloper added a comment to T402076: CVE-2025-11937: Stored XSS through a system message in SecurePoll.

That is indeed the wrong patch... unfortunately I think it's too late to undo this now from a security perspective, unless the message would be renamed along with its addition to wgRawHtmlMessages

Maybe I'm missing something (in which case I apologise!), but how come it'd be too late to undo? Couldn't e.g. there be a patch pushed to Gerrit which is effectively a combined (a) revert of F65758960 & (b) application of F65774953?

Tue, Nov 4, 12:28 PM · Essential-Work, Trust and Safety Product Sprint (Sprint Princess Tarta (August 18 - September 5)), SecTeam-Processed, Patch-For-Review, Trust and Safety Product Team, affects-Miraheze, Vuln-XSS, MediaWiki-extensions-SecurePoll, Security, Security-Team

Sat, Nov 1

SomeRandomDeveloper added a comment to T408981: Debug Toolbar triples page load times due to formatting thousands of file sizes.

There are two solutions I can think of that do not disable the size formatting by default, but allow developers to increase the page load times by modifying a config option:

  • Add a $wgDebugToolbarFormatSizes option which defaults to true but can be disabled in order to keep sizes unformatted.
  • Add a $wgDebugToolbarDisabledTabs option which allows disabling the "PHP Includes" tab for developers who don't need it.
Sat, Nov 1, 9:43 PM · MediaWiki-Debug-Logger, Developer Productivity, Performance Issue
SomeRandomDeveloper created T408981: Debug Toolbar triples page load times due to formatting thousands of file sizes.
Sat, Nov 1, 9:41 PM · MediaWiki-Debug-Logger, Developer Productivity, Performance Issue

Sun, Oct 26

SomeRandomDeveloper claimed T408337: Add a change tag for edits made by ReplaceText.
Sun, Oct 26, 8:48 PM · affects-Miraheze, MediaWiki-extensions-ReplaceText
SomeRandomDeveloper created T408337: Add a change tag for edits made by ReplaceText.
Sun, Oct 26, 8:47 PM · affects-Miraheze, MediaWiki-extensions-ReplaceText

Fri, Oct 24

SomeRandomDeveloper added a comment to T402076: CVE-2025-11937: Stored XSS through a system message in SecurePoll.

Patch:

+2

Works locally for me (I needed to restart my wiki to get the patch to work in case anyone else is testing this):

image.png (223×532 px, 17 KB)

Question… which patch was +2ed here? Asking because the context of the comments prior to T402076#11094611 would suggest that it maybe might have been intended to be the second version of the patch (ie., the one uploaded in T402076#11093305); but this comment quotes the one that uploaded the first version of the patch — which is now also the one that's been merged in Gerrit.

Fri, Oct 24, 9:08 PM · Essential-Work, Trust and Safety Product Sprint (Sprint Princess Tarta (August 18 - September 5)), SecTeam-Processed, Patch-For-Review, Trust and Safety Product Team, affects-Miraheze, Vuln-XSS, MediaWiki-extensions-SecurePoll, Security, Security-Team
SomeRandomDeveloper renamed T408218: Codesearch down/unavailable (2025-10-24) from Codesearch down/unreachable (2025-10-24) to Codesearch down/unavailable (2025-10-24).
Fri, Oct 24, 3:13 PM · VPS-project-Codesearch
SomeRandomDeveloper created T408218: Codesearch down/unavailable (2025-10-24).
Fri, Oct 24, 3:09 PM · VPS-project-Codesearch

Thu, Oct 23

SomeRandomDeveloper changed the status of T356599: hCaptcha: Implement compatibility with DiscussionTools from Stalled to Open.
Thu, Oct 23, 10:49 PM · Product Safety and Integrity (Sprint Mint Choc Chip Ice Cream (Oct 20 - Nov 7)), WE4.2 Bot detection (WE4.2 hCaptcha editing trial), ConfirmEdit (CAPTCHA extension), affects-Miraheze, DiscussionTools
SomeRandomDeveloper closed T396046: Comments at the start of CSS code cause the CSS extension to try to load the code as a file as Resolved.
Thu, Oct 23, 9:59 PM · MediaWiki-extensions-CSS, affects-Miraheze

Wed, Oct 22

SomeRandomDeveloper renamed T404475: CVE-2025-62659: CookieConsent should use reserved data attributes to avoid potential XSS vectors from CookieConsent should use reserved data attributes to avoid potential XSS vectors to CVE-2025-62659: CookieConsent should use reserved data attributes to avoid potential XSS vectors.
Wed, Oct 22, 7:27 PM · SecTeam-Processed, Vuln-XSS, MediaWiki-extensions-CookieConsent, affects-Miraheze, Security
SomeRandomDeveloper added a comment to T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).

The CookieConsent security issue does not appear to have made it into an actual release, and therefore has no CVE. But it is still included here for completeness' sake.

Wed, Oct 22, 12:49 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security
SomeRandomDeveloper added a comment to T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).

With the security/maintenance release of MediaWiki 1.39.14/1.43.4/1.44.1, we would also like to provide this supplementary announcement of MediaWiki extensions and skins with now-public Phabricator tasks, security patches and backports [1]:

Wed, Oct 22, 12:35 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security
SomeRandomDeveloper closed T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077 as Resolved.

I assume this can be closed now since it was part of 1.44.2

Wed, Oct 22, 12:34 PM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team

Tue, Oct 21

SomeRandomDeveloper added a comment to T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).

AdvancedSearch
+ (T402146, CVE-2025-62662) - Stored XSS through a system message
https://gerrit.wikimedia.org/r/q/I91bba2b570643ef74e6c210e7250e05cd2aa388e

A minor issue, but it affected multiple system messages, not just one

Tue, Oct 21, 7:09 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security
SomeRandomDeveloper closed T316158: Related Articles on other namespaces as Resolved.

The config option will be available in 1.45.

Tue, Oct 21, 11:46 AM · MW-1.45-notes (1.45.0-wmf.25; 2025-10-28), patch-welcome, RelatedArticles

Oct 17 2025

SomeRandomDeveloper added a comment to T401099: CVE-2025-61638: Sanitizer::validateAttributes data-XSS.

T407617: The data HTML attribute name can't include the underscore sign anymore might be due to the fixes here? (Commenting here rather than on that task because this one isn’t public yet.)

Oct 17 2025, 12:45 PM · MW-1.44-release, MW-1.43-release, MW-1.39-release, Content-Transform-Team (Work In Progress), SecTeam-Processed, Vuln-XSS, MediaWiki-Parser, Security, Security-Team

Oct 16 2025

SomeRandomDeveloper added a comment to T401998: ImageRating: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause.

The proposed solution looks good to me, but I'm no DB guru, so if it passes the usual "does it work?" type tests, it's good enough for me. ;-)

Oct 16 2025, 8:13 PM · Social-Tools, ImageRating
SomeRandomDeveloper claimed T401998: ImageRating: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause.
Oct 16 2025, 8:10 PM · Social-Tools, ImageRating
SomeRandomDeveloper added a comment to T407164: CargoQueryAPI: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated.

@SomeRandomDeveloper - thanks for pointing this out; I believe this is fixed now.

Oct 16 2025, 3:41 PM · affects-Miraheze, MediaWiki-extensions-Cargo
SomeRandomDeveloper closed T407460: mediawiki and TemplateStyles have conflicting css-sanitizer version requirements as Invalid.

TemplateStyles requires 6.0.0, so I assume you're running an outdated version (maybe the wrong branch?): https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/TemplateStyles/+/refs/heads/master/composer.json#4
It worked fine for me when I updated my local installation yesterday.

Oct 16 2025, 8:15 AM · Composer, TemplateStyles, css-sanitizer

Oct 15 2025

SomeRandomDeveloper closed T392226: Table syntax does no longer work in page notices as Resolved.

(Closing without the 1.43 backport per T392226#11278962)

Oct 15 2025, 8:18 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), affects-Miraheze, MediaWiki-extensions-PageNotice, Regression
SomeRandomDeveloper closed T328254: Parser function for content model {{#contentmodel:}} as Resolved.

I assume this can be closed now that the parser function has been available for everyone to use for a while.

Oct 15 2025, 8:15 PM · User-notice-archive, MW-1.45-notes (1.45.0-wmf.21; 2025-09-30), MediaWiki-Parser
SomeRandomDeveloper added a comment to T316158: Related Articles on other namespaces.

Correct, it seemed it should be most likely to produce relevant results, and of course simpler to implement. Do you feel that should maybe use wgContentNamespaces, or something else?

Oct 15 2025, 3:08 PM · MW-1.45-notes (1.45.0-wmf.25; 2025-10-28), patch-welcome, RelatedArticles

Oct 14 2025

SomeRandomDeveloper created T407211: phabricator.wmcloud.org account verification request: SomeRandomDeveloper.
Oct 14 2025, 12:06 PM · collaboration-services, VPS-project-Phabricator

Oct 13 2025

SomeRandomDeveloper created T407164: CargoQueryAPI: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated.
Oct 13 2025, 10:22 PM · affects-Miraheze, MediaWiki-extensions-Cargo
SomeRandomDeveloper set IRC Nick to SomeRandomDev on SomeRandomDeveloper.
Oct 13 2025, 12:33 PM

Oct 8 2025

SomeRandomDeveloper closed T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews as Resolved.
Oct 8 2025, 10:36 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security
SomeRandomDeveloper added a comment to T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews.

@Yaron_Koren could you please fix CI for the extension or just force merge the patch? I would prefer not having unmerged SQLI patches on gerrit for multiple days, especially since most of your extensions use the master branch instead of release branches, so wiki admins installing this extension might clone the unfixed version

Oct 8 2025, 10:25 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security

Oct 7 2025

SomeRandomDeveloper added a comment to T406519: Add Wanda extension to translatewiki.net.

Where is the community discussion and consensus about this?

Has the extension passed the security checks?

Oct 7 2025, 12:35 AM · MediaWiki-extensions-Wanda, translatewiki.net

Oct 5 2025

SomeRandomDeveloper added a comment to T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews.

I fixed SpecialClearPendingReviews with

diff --git a/specials/SpecialClearPendingReviews.php b/specials/SpecialClearPendingReviews.php
index 60ee10f..4ab1ec4 100644
--- a/specials/SpecialClearPendingReviews.php
+++ b/specials/SpecialClearPendingReviews.php
@@ -115,13 +115,13 @@ class SpecialClearPendingReviews extends SpecialPage {
Oct 5 2025, 3:06 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security
SomeRandomDeveloper added a comment to T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews.

@SomeRandomDeveloper - thank you for these patches. The one for master is not going through because of the recent removal of the cl_to field from the categorylinks table - which presumably is also preventing commits in something like 50 other extensions that use cl_to (including some of my own). I need to modify my extensions to not query cl_to - although if you want to try your hand at fixing WatchAnalytics, feel free. (The use of cl_to in WatchAnalytics seems more involved than in most of the others.)

Oct 5 2025, 2:55 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security
SomeRandomDeveloper updated the task description for T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).
Oct 5 2025, 2:37 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security
SomeRandomDeveloper added a comment to T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews.

(No backport for REL1_39 as that branch doesn't exist for this extension)

Oct 5 2025, 2:32 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security

Oct 4 2025

SomeRandomDeveloper added a comment to T328254: Parser function for content model {{#contentmodel:}}.

Since the error message mentions contentmodel a few times, and this ticket shows recent activity in this area, I thought I'd ask for help here. Can anyone tell what's going on?

Oct 4 2025, 1:18 PM · User-notice-archive, MW-1.45-notes (1.45.0-wmf.21; 2025-09-30), MediaWiki-Parser

Oct 3 2025

SomeRandomDeveloper closed T399662: CVE-2025-62698: Stored XSS through system messages in ExternalGuidance as Resolved.
Oct 3 2025, 10:53 PM · SecTeam-Processed, Vuln-XSS, ExternalGuidance, Security, Security-Team
SomeRandomDeveloper updated the task description for T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).
Oct 3 2025, 10:30 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security
SomeRandomDeveloper reopened T394396: CVE-2025-61636: Codex Special:Block vulnerable to message key XSS as "Open".

I am going to create a revert patch. My reasoning:

  • The parameter is now marked as @param-taint $buttonLabel exec_html since the fix for T402313
  • All callers outside of HTMLButtonField escape the label already: https://codesearch.wmcloud.org/search/?q=HTMLButtonField%3A%3AbuildCodexComponent&files=&excludeFiles=&repos= (this was done to fix T402313, which is the same issue as reported here)
  • There is another method call in HTMLButtonField, which passes the buttonLabel property to the function. This property is assigned in the following places:
    • L63: Parsed message
    • L67: String literal with a unicode character
    • L69: Escaped string
    • L72: Intentionally raw HTML string
    • L126: $this->getDefault(), which will be escaped again in that line after this patch is reverted
Oct 3 2025, 9:01 PM · MW-1.44-release, MW-1.43-release, Multiblocks (Implement Codex Special:Block), SecTeam-Processed, Community-Tech (Sea Lion Squad), Vuln-XSS, Trust and Safety Product Team, MediaWiki-Blocks, Security, Security-Team
SomeRandomDeveloper updated subscribers of T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews.
Oct 3 2025, 7:30 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security
SomeRandomDeveloper added a project to T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews: Patch-For-Review.

Suggested patch:

Oct 3 2025, 7:27 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security
SomeRandomDeveloper claimed T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews.
Oct 3 2025, 7:23 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security
SomeRandomDeveloper created T406380: CVE-2025-62658: SQL injection in WatchAnalytics through Special:ClearPendingReviews.
Oct 3 2025, 7:23 PM · SecTeam-Processed, Vuln-Inject, MediaWiki-extensions-WatchAnalytics, Security
SomeRandomDeveloper created T406363: CommentStreams loads OOUI on every page load.
Oct 3 2025, 4:12 PM · Performance Issue, MediaWiki-extensions-CommentStreams
SomeRandomDeveloper updated the task description for T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).
Oct 3 2025, 3:56 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security
SomeRandomDeveloper added a comment to T399662: CVE-2025-62698: Stored XSS through system messages in ExternalGuidance.

This needs to be backported to REL1_43 and REL1_39:


Oct 3 2025, 3:55 PM · SecTeam-Processed, Vuln-XSS, ExternalGuidance, Security, Security-Team
SomeRandomDeveloper closed T404113: Setting $wgCommentStreamsAllowedNamespaces = -1; should work as Resolved.

The fix for this has been merged to master, REL1_43 and REL1_44

Oct 3 2025, 2:29 PM · affects-Miraheze, Regression, MediaWiki-extensions-CommentStreams
SomeRandomDeveloper updated the task description for T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077.
Oct 3 2025, 1:21 PM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team
SomeRandomDeveloper added a comment to T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077.

Stored i18n XSS exposed by security patch for T402077

I keep forgetting that parameters aren't escaped either when using mw.msg... so that vulnerability was actually already present before

Oct 3 2025, 1:20 PM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team
SomeRandomDeveloper added a project to T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077: Patch-For-Review.

Oct 3 2025, 12:24 PM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team
SomeRandomDeveloper added a project to T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077: MediaWiki-Internationalization.
Oct 3 2025, 12:11 PM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team
SomeRandomDeveloper added a comment to T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077.

@Dreamy_Jazz actually couldn't we just escape the messages in the existing listToText method instead? The PHP version does the same: https://gerrit.wikimedia.org/g/mediawiki/core/+/ffd25a424f9fc8cbb32a403969e473da85c4389f/includes/language/Language.php#3665
And I don't think and, word-separator or comma-separator should contain any characters that would be double escaped

Oct 3 2025, 12:10 PM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team
SomeRandomDeveloper added a comment to T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077.

I'm not sure what would be the best way to fix this, apart from copying mw.language.listToText into a new method in CheckUser and then escaping the messages so it can be used to produce HTML.

That seems hacky and would likely cause tech debt if the MediaWiki core version of mw.language.listToText is updated.

Could we not consider adding a XSS safe mw.language.listToText? AFAICS we would want to use it elsewhere that this issue might occur

Oct 3 2025, 12:07 PM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team
SomeRandomDeveloper added projects to T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077: CheckUser, Vuln-XSS.

This affects master and REL1_44.

Oct 3 2025, 11:52 AM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team
SomeRandomDeveloper created T406322: CVE-2025-11261: Stored i18n XSS exposed by security patch for T402077.
Oct 3 2025, 11:50 AM · MW-1.39-release, MW-1.43-release, Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.44-release, MediaWiki-Internationalization, Vuln-XSS, CheckUser, Security, Security-Team
SomeRandomDeveloper added a comment to T406313: Create a security issue reporting template.

I think it would be good if there was a template for the description similar to the bug report form. Most of my security reports usually follow this structure (unless there are multiple vulnerabilities in the same task):

  1. A short description
  2. Reproduction steps
  3. Cause
  4. Additional information (e.g. versions this was tested on)
Oct 3 2025, 11:33 AM · SecTeam-Processed, Phabricator, Security, Security-Team

Oct 2 2025

SomeRandomDeveloper added a comment to T394396: CVE-2025-61636: Codex Special:Block vulnerable to message key XSS.

As I mentioned on gerrit already, as far as I can see, $this->buttonLabel seems to either be parsed (L63), escaped (L69) or intentionally raw HTML (L72). It shouldn't be escaped in buildCodexComponent. Instead, it should be marked as exec_html and escaped by the caller, which https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1193175 (the fix for T402313) does already.

Oct 2 2025, 7:05 PM · MW-1.44-release, MW-1.43-release, Multiblocks (Implement Codex Special:Block), SecTeam-Processed, Community-Tech (Sea Lion Squad), Vuln-XSS, Trust and Safety Product Team, MediaWiki-Blocks, Security, Security-Team
SomeRandomDeveloper added a comment to T394396: CVE-2025-61636: Codex Special:Block vulnerable to message key XSS.

I think this is a duplicate of T402313 which has a separate fix that does not double escape messages.

Oct 2 2025, 7:02 PM · MW-1.44-release, MW-1.43-release, Multiblocks (Implement Codex Special:Block), SecTeam-Processed, Community-Tech (Sea Lion Squad), Vuln-XSS, Trust and Safety Product Team, MediaWiki-Blocks, Security, Security-Team
SomeRandomDeveloper updated the task description for T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).
Oct 2 2025, 6:38 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security
SomeRandomDeveloper updated the task description for T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).
Oct 2 2025, 6:36 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security
SomeRandomDeveloper updated the task description for T397776: Write and send supplementary release announcement for extensions and skins with security patches (1.39.14/1.43.4/1.44.1).
Oct 2 2025, 6:35 PM · affects-Miraheze, user-sbassett, MediaWiki-Releasing, Security

Sep 29 2025

SomeRandomDeveloper added a comment to T405988: SystemGifts not awarding despite meeting threshold.

(Rubber Duck Debugging)

Sep 29 2025, 11:30 PM · Social-Tools, SocialProfile, affects-Miraheze
SomeRandomDeveloper closed T405988: SystemGifts not awarding despite meeting threshold as Invalid.

Nevermind, I just realized that running UserStats:updateUserStats.php fixes it.

Sep 29 2025, 11:30 PM · Social-Tools, SocialProfile, affects-Miraheze
SomeRandomDeveloper created T405988: SystemGifts not awarding despite meeting threshold.
Sep 29 2025, 11:27 PM · Social-Tools, SocialProfile, affects-Miraheze

Sep 28 2025

SomeRandomDeveloper added a comment to T363627: Improve comment logging in S:Log and S:RecentChanges.

Downstream task: https://issue-tracker.miraheze.org/T14268

Sep 28 2025, 12:12 AM · Regression, affects-Miraheze, MediaWiki-extensions-CommentStreams
SomeRandomDeveloper attached a referenced file: F66705319: image.png.
Sep 28 2025, 12:04 AM · Regression, affects-Miraheze, MediaWiki-extensions-CommentStreams

Sep 27 2025

SomeRandomDeveloper added a comment to T363627: Improve comment logging in S:Log and S:RecentChanges.

image.png (148×871 px, 70 KB)

Sep 27 2025, 11:55 PM · Regression, affects-Miraheze, MediaWiki-extensions-CommentStreams
SomeRandomDeveloper claimed T363627: Improve comment logging in S:Log and S:RecentChanges.
Sep 27 2025, 10:00 PM · Regression, affects-Miraheze, MediaWiki-extensions-CommentStreams
SomeRandomDeveloper added projects to T363627: Improve comment logging in S:Log and S:RecentChanges: affects-Miraheze, Regression.

Special:AllComments was recently removed and entries in Special:Log/commentstreams don't point to comment pages anymore. Since the creation of this task, even less info is provided now.

Sep 27 2025, 9:51 PM · Regression, affects-Miraheze, MediaWiki-extensions-CommentStreams
SomeRandomDeveloper closed T400525: CVE-2025-62694: Stored XSS through a system message in WikiLove as Resolved.

Since callbacks seem to not be supported by ResourceLoader in 1.39 (correct me if I'm wrong), I've made a separate patch that is mostly a band-aid fix and only supports HTTPS and HTTP. However, given that 1.39 will be EOL in December and I assume almost nobody has a reason to edit this message and insert a non-HTTP link, it should be fine to fix it this way:

@sbassett could we have somebody review this backport patch and then push it through gerrit?

CR+1, I can push it up to gerrit for REL1_39 in a minute.

Sep 27 2025, 8:20 PM · Patch-For-Review, SecTeam-Processed, affects-Miraheze, WikiLove, Vuln-XSS, Security, Security-Team

Sep 26 2025

SomeRandomDeveloper added a comment to T388462: CommentStreams broken on REL1_43.

In my 1.43 wiki, on a page with CommentStreams enabled, I get no errors, but also no output of the CommentStreams UI (button).

It turns out that this patch works for me - because I have

$wgCommentStreamsAllowedNamespaces = -1;

in my settings/config which is the subject of T404113

Sep 26 2025, 8:15 PM · affects-Miraheze, MW-1.43-release, MediaWiki-extensions-CommentStreams