Bug 2255582 (CVE-2023-51704) - CVE-2023-51704 mediawiki: group-.*-member messages are not properly escaped on Special:log/rights
Summary: CVE-2023-51704 mediawiki: group-.*-member messages are not properly escaped o...
Keywords:
Status: NEW
Alias: CVE-2023-51704
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2255583
Blocks: 2255584
TreeView+ depends on / blocked
 
Reported: 2023-12-22 06:18 UTC by TEJ RATHI
Modified: 2023-12-22 18:39 UTC (History)
0 users

Fixed In Version: MediaWiki 1.35.14, MediaWiki 1.39.6, MediaWiki 1.40.2
Doc Type: ---
Doc Text:
A flaw was found in the Special:log/rights page in MediaWiki. Messages related to group memberships (group-*-member) within includes/logging/RightsLogFormatter.php are susceptible to cross-site scripting (XSS) attacks due to inadequate escape handling. This issue could enable an attacker to execute malicious scripts within the affected page, posing a risk of unauthorized code execution or other malicious activities.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2023-12-22 06:18:42 UTC
An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.

https://phabricator.wikimedia.org/T347726
https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce@lists.wikimedia.org/thread/TDBUBCCOQJUT4SCHJNPHKQNPBUUETY52/

Comment 1 TEJ RATHI 2023-12-22 06:19:05 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 2255583]


Note You need to log in before you can comment on or make changes to this bug.