MediaWiki WikiLove
CVE-2025-62694
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain wiki editing access
-
DeliveryCraft WikiLove message with stored XSS payload
-
ExploitSubmit to victim's talk page (payload stored)
-
ExecutionVictim views page, script executes in browser
-
ImpactHijack session or perform privileged wiki actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a MediaWiki 1.39 instance with the WikiLove extension installed and enabled (not part of MediaWiki core, so absent on default installs). The attacker needs the ability to send a WikiLove award/message - i.e., edit access, which may be anonymous or account-gated depending on the wiki's permission configuration. Exploitation is limited by requiring a victim to subsequently view the talk page containing the stored payload for the script to execute; impact is maximized only when that victim is a privileged user (e.g., admin). Impact is bounded to the victim's browser session rather than direct server compromise. |
| Impact | Signals converge on a moderate, not urgent, priority. The CVSS 4.0 base score is 6.9 (Medium) with uniformly Low impacts (VC:L/VI:L/VA:L and subsequent SC:L/SI:L/SA:L), consistent with a stored XSS that runs script in a victim's authenticated browser context rather than directly compromising the server. EPSS is low at 0.38% (30th percentile), there is no CISA KEV listing, and no public exploit was identified, so this is no public exploit identified at time of analysis. One notable conflict: the supplied CVSS 4.0 vector asserts PR:N and UI:N, yet a *stored* XSS realistically requires (a) the ability to submit a WikiLove message/award and (b) a victim to render the injected talk-page content - so UI:N understates the real-world victim-interaction requirement and PR:N depends entirely on whether the wiki permits anonymous editing. Verify PR/UI against the actual wiki edit-permission configuration. Patch availability is confirmed: Wikimedia Gerrit changeset 1191439 and tracking task Phabricator T400525 are referenced, so remediation exists. Net: a real but lower-tier issue - low exploitation probability, bounded impact, available fix. |
| Exploit ScenarioDerived | An attacker able to edit on the wiki uses the WikiLove extension to send a crafted award/message containing a script payload to a target user's talk page. The payload is stored and, when the victim (ideally a privileged admin) later views that talk page, the script executes in their authenticated browser session, enabling session/CSRF-token theft or actions performed as the victim. No public exploit was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting in the MediaWiki WikiLove extension (1.39 line) lets a user who can send a WikiLove award plant a script payload in the award message that executes in the browser of any user - including privileged administrators - who later views the affected talk page. WikiLove is an optional extension rather than part of MediaWiki core, so default installs are not exposed; the attack surface exists only where the extension is installed and enabled, and the attacker needs edit-level access (which may be anonymous or account-gated depending on the wiki's permission configuration) plus a victim who loads the poisoned page. NVD rates this 6.9 under CVSS 4.0 with a PR:N vector, while our independent assessment scores it lower under CVSS 3.1 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) because award delivery requires edit rights and victim interaction; EPSS is 0.38% (30th percentile), there is no KEV listing, and no public exploit identified at time of analysis.
RemediationAI
The primary fix is the upstream patch referenced in the CVE: Gerrit change 1191439 (change-id I17fc061112f61b4c37b772410b265df060819416), tracked under Phabricator task T400525, so treat this as an upstream fix available as a commit/PR; a tagged, independently confirmed release version is not established by the supplied data, and administrators should deploy the patched WikiLove revision (or the latest MediaWiki 1.39 maintenance release that carries it) from the Wikimedia Gerrit repository. If immediate patching is not feasible, disable WikiLove by removing its wfLoadExtension( 'WikiLove' ) line from LocalSettings.php, which fully closes the vector at the cost of losing the awards feature; alternatively tighten permissions so that only trusted, registered users can post awards or edit talk pages, understanding that this reduces rather than eliminates risk from insiders and that anonymous-edit wikis are the most exposed. A restrictive Content-Security-Policy that blocks inline script can blunt execution but will break other MediaWiki extensions and customizations that rely on inline JavaScript, so it should be treated as defense-in-depth. Administrators should also audit existing user talk pages for previously injected WikiLove payloads and remove them, since the malicious content persists in the database until cleaned.
Affected ProductsAI
The CVE record identifies MediaWiki - WikiLove Extension version 1.39 as affected. MediaWiki core itself is not vulnerable in its default configuration because WikiLove is an optional extension that must be explicitly installed and enabled via the wiki's LocalSettings.php, and the flaw manifests only on installations running the 1.39 branch of the extension. Exposure therefore applies to MediaWiki 1.39 wikis that have WikiLove active; wikis without the extension, or running unaffected branches, are not in scope. The affected component is tracked upstream in Phabricator task T400525 (https://phabricator.wikimedia.org/T400525) and fixed by Gerrit change 1191439 and its related commit (https://gerrit.wikimedia.org/r/c/1191439, https://gerrit.wikimedia.org/r/q/I17fc061112f61b4c37b772410b265df060819416); no CPE identifiers were provided in the supplied intelligence feeds.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-79, improper neutralization of input during web page generation, in the WikiLove extension for MediaWiki. WikiLove adds a social 'award/kudos' mechanism that lets contributors post templated messages onto other users' talk pages; the vulnerability lies in the extension rendering award content without adequate escaping or sanitization, so attacker-controlled message text is stored in the wiki database and later emitted as executable markup in the victim's browser context. Because the injection is persistent, it is a stored (persistent) XSS rather than a reflected one, and the impact is bounded to the victim's browser session and the wiki's origin - session token theft, CSRF-style actions as the victim, or defacement - rather than direct server compromise. The affected component is the extension identified by NVD as 'Mediawiki - WikiLove Extension: 1.39'; no CPE strings were supplied in the feeds, and the extension is not bundled with MediaWiki core, so exposure is limited to wikis that explicitly enable it alongside the 1.39 branch. The referenced Gerrit changes (1191439 and I17fc061112f61b4c37b772410b265df060819416) and Phabricator task T400525 indicate the flaw was addressed upstream in the extension's rendering/sanitization path.
Know when Mediawiki gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
Stored XSS needs the ability to post a WikiLove message (PR:L) and a victim to view it (UI:R); script executes across a security boundary in the victim's browser (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).
CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in The Wikimedia Foundation Mediawiki - WikiLove Extension allows Stored XSS.This issue affects Mediawiki - WikiLove Extension: 1.39.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is
The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,
An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi
The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
api.php in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 has a Reflected File Download vulnera
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun
An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB