Bug 2074123 (CVE-2022-28202)

Summary: CVE-2022-28202 mediawiki: xss due to incorrect escaping
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: askrabec, axel.thimm, bmontgom, eparis, jburrell, jokerman, mike, nstielau, orion, rtillery, shurley, sponnaga, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mediawiki 1.35.6, mediawiki 1.36.4, mediawiki 1.37.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in MediaWiki. The widthheight, widthheightpage, and nbytes properties of messages are not escaped when used in galleries or Special:RevisionDelete.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2075227, 2075228    
Bug Blocks: 2074124    

Description Marian Rehak 2022-04-11 15:16:53 UTC
The widthheight, widthheightpage, and nbytes properties of messages are not escaped when used in galleries or Special:RevisionDelete.

Reference:

https://phabricator.wikimedia.org/T297543

Comment 1 Anten Skrabec 2022-04-13 21:12:18 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 2075227]