MediaWiki PageForms
CVE-2025-62657
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as privileged wiki user
-
DeliveryInject script into PageForms field
-
ExploitPayload stored in page/form
-
ExecutionVictim views affected page
-
ImpactScript executes in victim browser
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 an attacker who already holds high privileges on the wiki (PR:H) to store a malicious script through PageForms input handling, and it only fires when another user passively renders the affected form/page (UI:P reflects required user interaction). High attack complexity (AC:H) indicates additional non-default conditions must be satisfied to reliably store and trigger the payload. Limiting factors: the need for pre-existing privileged access, required victim interaction, and that only MediaWiki installations running the PageForms extension at the affected version (1.44) are exposed - core MediaWiki without PageForms is not affected. |
| Impact | This is a moderate-severity Stored XSS (CWE-79) in the MediaWiki PageForms extension, and the available signals consistently point to a lower-priority issue rather than an urgent one. The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N) describes network-reachable but high-complexity exploitation that requires high privileges (PR:H) AND passive victim interaction (UI:P), which materially constrains real-world abuse. EPSS reinforces this with a low 0.27% exploitation probability (18th percentile). The CVE is NOT on the CISA KEV list and no POC is referenced, so there is no public exploit identified at time of analysis. The 4.0 threat/environmental metrics are all undefined (E:X, CR/IR/AR:X), so no exploit-maturity uplift is available. The only notable tension is VC:H (high confidentiality impact) paired with PR:H and AC:H - a high-impact but hard-to-reach flaw, consistent with a stored-XSS payload injected by an already-privileged user that fires against other users viewing the affected form/page. Net: a real but low-to-moderate priority issue; patch in normal cycles rather than emergency. |
| Exploit ScenarioDerived | A user with elevated privileges on the wiki (PR:H) injects a malicious script into PageForms-processed input that is stored and later rendered; when another user passively loads the affected form or page (UI:P), the script executes in their browser session. No public exploit code is referenced, and the high attack complexity (AC:H) suggests non-trivial conditions must be met to reliably trigger the payload. |
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 PageForms extension (version 1.44) allows an authenticated attacker who already holds high wiki privileges to persist malicious JavaScript through PageForms input handling, which then executes in the browser of any other user who renders the affected form or page. Exploitation is tightly constrained - high attack complexity, elevated privileges, and victim interaction are all prerequisites - and no public exploit identified at time of analysis; the EPSS score of 0.27% (18th percentile) is consistent with a low-likelihood, lower-priority issue rather than an urgent one.
RemediationAI
No vendor-released patch version is confirmed in the available data at time of analysis; the Wikimedia Phabricator task at https://phabricator.wikimedia.org/T405357 is the tracking record for the fix and should be monitored, and administrators should upgrade the PageForms extension beyond the affected 1.44 release as soon as a corrected version is published rather than assuming the current build is intact. Until then, the most effective compensating control is to tighten the privileges that the exploit depends on: since successful exploitation requires high privileges on the wiki (PR:H) to store the payload, restrict creation and editing of form definitions and template-backed content to a small, vetted group of trusted editors through MediaWiki's user-rights configuration, accepting that this narrows editorial workflow flexibility. Wikis that do not critically depend on form-driven data entry can temporarily disable the PageForms extension, at the cost of losing all form-based page creation and editing until a patched release is installed. Because the payload only fires when another user passively renders the affected form or page, a Content-Security-Policy that restricts inline script execution reduces the chance of successful execution but may break legitimate wiki gadgets and inline scripts, so it should be tested before rollout, and administrators should additionally review existing PageForms-created content for injected markup as part of incident hygiene.
Affected ProductsAI
The affected product is the MediaWiki PageForms extension at version 1.44, as deployed on MediaWiki wikis that have the extension installed and enabled; core MediaWiki without the PageForms extension is not affected. No CPE identifier was supplied in the available intelligence, so exposure must be determined from the installed extension inventory rather than from a CPE lookup. The authoritative vendor tracking record is the Wikimedia Phabricator task https://phabricator.wikimedia.org/T405357, which is the reference associated with this CVE and should be consulted for the definitive version range and any dependent skins or templates that inherit PageForms rendering behavior.
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
PageForms is a MediaWiki extension that lets wiki editors define HTML-style forms backed by templates and parser functions, so that structured pages can be created and edited through generated wiki markup. This issue is a classic CWE-79 improper-neutralization-during-web-page-generation defect: user-supplied values handled by the extension are stored without adequate output encoding and are later rendered into a wiki page in a context where they are interpreted as markup or script rather than inert text, producing a persistent (stored) XSS. The CVSS:4.0 vector (AV:N/AC:H/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N) and the independent CVSS:3.1 assessment (AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:N) agree that the attacker needs network access and high privileges, that attack complexity is high (non-default conditions must be satisfied to reliably store and trigger the payload), and that a victim must interact by loading the affected page. Impact is dominated by confidentiality (VC:H), since the injected script runs in the victim's authenticated MediaWiki session and can exfiltrate page content or session-bound data, with only limited integrity impact (VI:L) and no availability impact; the CVSS:3.1 scope change (S:C) reflects that the script executes in a security context distinct from the vulnerable component. Only installations running the PageForms extension at the affected version are exposed - core MediaWiki without PageForms is not affected.
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:H/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/S:N/AU:N/R:U/V:C/RE:L/U:Amber
Stored XSS requires a privileged user to inject (PR:H) and a victim to view the page (UI:R); scope changes as script runs in victims' browsers (S:C), yielding high confidentiality and low integrity 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 PageForms extension allows Stored XSS.This issue affects MediaWiki PageForms extension: 1.44.
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