MediaWiki LastModified Extension
CVE-2025-62693
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach wiki with LastModified extension
-
DeliveryInject stored XSS payload into rendered content
-
ExploitVictim loads affected page
-
ExecutionScript executes in victim browser
-
ImpactHijack session or act as user
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 | Exploitation requires the optional Wikimedia LastModified Extension to be installed and enabled on a MediaWiki instance (not present in a default MediaWiki install), and an attacker able to persist a crafted script into content that the extension renders, with a victim subsequently viewing the affected page to trigger execution. The published vector states PR:N/UI:N (unauthenticated, no interaction), but stored XSS in a wiki typically presupposes some edit capability to store the payload and a victim page load to fire it - these are the realistic limiting factors and should be confirmed against the specific sink. Impact is bounded to the client-side browser context of users who view the affected page. |
| Impact | This is a moderate-severity stored XSS (CWE-79) in the MediaWiki LastModified Extension, scored CVSS 4.0 6.9 by the source with vector AV:N/AC:L/AT:N/PR:N/UI:N and low impact across all vulnerable- and subsequent-system metrics (VC:L/VI:L/VA:L/SC:L/SI:L/SA:L). Supporting signals indicate low real-world priority: EPSS is 0.34% (26th percentile), there is no CISA KEV listing, and no public exploit code is referenced - only a Gerrit patch and a Phabricator tracking ticket are provided. The published vector lists PR:N/UI:N, but this conflicts with typical stored-XSS mechanics, where an attacker generally needs some ability to persist a payload (often an editing account) and a victim must load the affected page; this PR:N/UI:N claim should be verified against the actual injection sink in the extension. Net assessment: a genuine but low-to-moderate priority issue - a low-impact client-side flaw in a niche, optional MediaWiki extension, not a high-urgency item absent evidence of exploitation. |
| Exploit ScenarioDerived | An attacker persists a malicious script payload into content rendered by the LastModified extension; when another user (potentially an administrator or editor) views the affected wiki page, the script executes in their browser session within the MediaWiki origin. No public exploit code is referenced, so this scenario is inferred from the stored-XSS classification rather than a demonstrated PoC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting (XSS) in the MediaWiki LastModified extension allows an attacker who can edit wiki content to inject persistent JavaScript that executes in the browsers of users viewing affected pages. The vulnerability affects the optional LastModified extension (not part of a default MediaWiki install) in versions from master before 1.39. The published CVSS 4.0 score is 6.9 with a vector claiming PR:N/UI:N, but the independent assessment notes that realistic exploitation requires edit permissions to store the payload and a victim to view the page, bounding impact to the client-side browser context; EPSS is low at 0.34% (26th percentile), and no public exploit code has been identified.
RemediationAI
Upgrade the LastModified extension to version 1.39 or later, which contains the fix as indicated by the affected version range 'from master before 1.39' and the Gerrit change Ia406630dbac5ef9a9aed3f402f0ba6e434a6bcf2. If upgrading is not immediately possible, disable the LastModified extension entirely; because it is optional and not part of a default MediaWiki install, this removes the attack surface without affecting core wiki functionality. Alternatively, restrict edit permissions to trusted users to prevent untrusted payload storage, and deploy a Content Security Policy (CSP) that disallows inline scripts, though CSP may break some legitimate site functionality. Apply the Gerrit patch if you run from master. Refer to the vendor advisory at https://phabricator.wikimedia.org/T399583 for updates.
Affected ProductsAI
The affected product is the MediaWiki LastModified extension, specifically versions from the master branch before 1.39. This is an optional extension; MediaWiki installations that do not have the LastModified extension installed and enabled are not affected. The fix is available in version 1.39 and later, as indicated by the version range and the Gerrit change Ia406630dbac5ef9a9aed3f402f0ba6e434a6bcf2. No CPE string was provided in the source data. Vendor advisory references include the Gerrit change (https://gerrit.wikimedia.org/r/q/Ia406630dbac5ef9a9aed3f402f0ba6e434a6bcf2) and the Phabricator task (https://phabricator.wikimedia.org/T399583).
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 vulnerability is a classic CWE-79 improper neutralization of input during web page generation, specifically stored XSS, in the LastModified extension for MediaWiki. The extension likely fails to properly escape or sanitize user-controlled input before rendering it in HTML, allowing script injection. The published CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L) indicates network-exploitable, low-complexity, no privileges, no user interaction, with low impact across confidentiality, integrity, and availability for both vulnerable and subsequent systems. However, the independent assessment using CVSS 3.1 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) argues that stored XSS in a wiki realistically requires some edit capability to persist the payload and a victim page load to trigger execution, making PR:L/UI:R more accurate. The affected component is the optional LastModified extension, which is not enabled in a default MediaWiki installation; only instances that have installed and enabled the extension are at risk. The EPSS score is 0.34% (26th percentile), indicating a low probability of exploitation in the wild, and no public exploit or CISA KEV entry has been identified.
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 typically needs an account to persist the payload (PR:L) and a victim page view (UI:R); it crosses into the browser context (S:C) with low confidentiality/integrity 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 - LastModified Extension allows Stored XSS.This issue affects Mediawiki - LastModified Extension: from master before 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