Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2023-51704: n/a

0
Unknown
VulnerabilityCVE-2023-51704cvecve-2023-51704
Published: Fri Dec 22 2023 (12/22/2023, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

AILast updated: 11/04/2025, 18:21:34 UTC

Technical Analysis

CVE-2023-51704 is a security vulnerability identified in the MediaWiki software, specifically in the includes/logging/RightsLogFormatter.php file. The flaw exists in the handling of group membership messages (group-*-member) that are displayed on the Special:log/rights page. Due to insufficient input sanitization or output encoding, these messages can contain malicious JavaScript code, leading to a cross-site scripting (XSS) vulnerability. This vulnerability affects MediaWiki versions before 1.35.14, all 1.36.x through 1.39.x versions before 1.39.6, and 1.40.x versions before 1.40.2. An attacker who can inject crafted group membership messages could exploit this flaw to execute arbitrary scripts in the browser of users viewing the affected log page. This can result in session hijacking, credential theft, or other malicious actions performed with the privileges of the victim user. Although no active exploits have been reported, the vulnerability is publicly disclosed and patched in later versions. MediaWiki is widely used in collaborative environments including public sector, education, and enterprises, making this vulnerability relevant for organizations relying on it for knowledge management or documentation. The vulnerability does not require authentication to trigger if the attacker can influence the group membership messages, but some level of access or social engineering might be needed to inject malicious content. The lack of a CVSS score necessitates an independent severity assessment based on impact and exploitability factors.

Potential Impact

For European organizations, the impact of CVE-2023-51704 can be significant, especially for those using MediaWiki as a platform for internal or public documentation, knowledge bases, or collaborative projects. Exploitation of this XSS vulnerability could lead to unauthorized disclosure of sensitive information, session hijacking, and potential privilege escalation if administrative users are targeted. This could undermine the integrity and confidentiality of organizational data and disrupt operations. Public sector entities, universities, and research institutions that rely on MediaWiki for transparency and collaboration may face reputational damage and compliance risks under GDPR if personal data is exposed. Additionally, attackers could leverage this vulnerability as a foothold for further attacks within the network. The absence of known exploits reduces immediate risk but does not eliminate the threat, as attackers may develop exploits following public disclosure. Organizations with high user traffic on affected MediaWiki instances are at greater risk due to increased exposure.

Mitigation Recommendations

To mitigate CVE-2023-51704, organizations should promptly upgrade MediaWiki to the patched versions: 1.35.14 or later, 1.39.6 or later, or 1.40.2 or later depending on their current version branch. If immediate upgrading is not feasible, administrators should restrict access to the Special:log/rights page to trusted users only, minimizing exposure to untrusted or anonymous users. Implement Content Security Policy (CSP) headers to reduce the impact of potential XSS attacks by restricting script execution sources. Regularly audit and sanitize group membership messages and logs to detect and remove any suspicious content. Employ web application firewalls (WAFs) with rules targeting XSS payloads to provide an additional layer of defense. Educate users and administrators about the risks of XSS and encourage vigilance when interacting with log pages or user-generated content. Monitor MediaWiki security advisories for updates and apply patches promptly to maintain a secure environment.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2023-12-22T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 690a3b5fff58c9332ff09320

Added to database: 11/4/2025, 5:43:59 PM

Last enriched: 11/4/2025, 6:21:34 PM

Last updated: 12/20/2025, 5:19:17 PM

Views: 25

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats