Bug 1909224 (CVE-2020-35475)

Summary: CVE-2020-35475 mediawiki: messages userrights-expiry-current and userrights-expiry-none can contain raw html
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aos-bugs, Axel.Thimm, bmontgom, eparis, jburrell, jokerman, mike, nstielau, puiterwijk, shurley, sponnaga
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mediawiki 1.31.11, mediawiki 1.35.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 02:58:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1909225, 1910209    
Bug Blocks: 1909242    

Description Guilherme de Almeida Suckevicz 2020-12-18 16:50:21 UTC
In MediaWiki before 1.35.1, the messages userrights-expiry-current and userrights-expiry-none can contain raw HTML. XSS can happen when a user visits Special:UserRights but does not have rights to change all userrights, and the table on the left side has unchangeable groups in it. (The right column with the changeable groups is not affected and is escaped correctly.)

References:
https://phabricator.wikimedia.org/T268917
https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html

Comment 1 Guilherme de Almeida Suckevicz 2020-12-18 16:50:36 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 1909225]