All reports
Medium

mediawiki: group-.*-member messages are not properly escaped on Special:log/rights

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-51704

Probability of exploitation in the next 30 days: 0.68%

FIRST EPSS · 2026-11-21

Description

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.

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.