Skip to main content

MediaWiki LastModified Extension CVE-2025-62693

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-20 c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
6.9
CVSS 4.0 · Vendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach wiki with LastModified extension
  2. Delivery
    Inject stored XSS payload into rendered content
  3. Exploit
    Victim loads affected page
  4. Execution
    Script executes in victim browser
  5. Impact
    Hijack 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).

CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche optional MediaWiki extension, far narrower than core MediaWiki
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2014-1610 MEDIUM POC
6.0 Jan 30

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

CVE-2015-8009 CRITICAL POC
9.8 Jul 25

The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,

CVE-2023-37303 CRITICAL POC
9.8 Jun 30

An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi

CVE-2022-29906 CRITICAL POC
9.8 Apr 29

The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf

CVE-2022-29904 CRITICAL POC
9.8 Apr 29

The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ

CVE-2022-28206 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2022-28205 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2021-36128 CRITICAL POC
9.8 Jul 02

An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2021-36126 CRITICAL POC
9.8 Jul 02

An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2017-8809 CRITICAL
9.8 Nov 15

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

CVE-2024-47849 HIGH POC
8.8 Oct 05

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun

CVE-2021-36132 HIGH POC
8.8 Jul 02

An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy