MediaWiki SecurePoll
CVE-2025-11937
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess SecurePoll input field
-
DeliveryInject stored XSS payload
-
ExploitVictim renders poll page
-
ExecutionScript executes in victim session
-
ImpactHijack session or perform 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 | Exploitation requires the ability to store attacker-controlled input into a SecurePoll extension field that is later rendered without neutralization, and a victim (administrator or voter) must load the affected SecurePoll page for the payload to execute - so realistic risk depends on who can submit poll/election content in a given wiki's configuration. The affected version is reported only as 'master', meaning this targets development/unreleased SecurePoll code rather than a pinned release, which limits the population of exposed production installs. Limiting factors: SecurePoll must be installed and in use (it is an optional, election-focused extension, not core MediaWiki), and the vendor's PR:N/UI:N claim should be verified since stored XSS normally depends on content-submission privileges and victim page views. |
| Impact | This is a moderate-severity stored XSS (CWE-79) in the MediaWiki SecurePoll extension, rated CVSS 4.0 6.9 by the vendor (Wikimedia) with vector AV:N/AC:L/AT:N/PR:N/UI:N and uniformly Low impacts (VC:L/VI:L/VA:L/SC:L/SI:L/SA:L). No EPSS score, CISA KEV listing, or public POC is present in the provided data, so exploitation status is 'no public exploit identified at time of analysis' - this is not a confirmed active-exploitation priority. The signals are internally consistent with a classic stored XSS (network vector, low complexity, low-but-broad impact as script executes in victims' authenticated sessions), but note a tension: the vendor vector asserts PR:N/UI:N, whereas stored XSS almost always requires (a) some ability to persist attacker-controlled content and (b) a victim to subsequently render the affected page - verify the exact injection and trigger path with the Gerrit/Phabricator records. Overall this is a real but lower-tier issue: patch promptly on affected SecurePoll deployments, but it does not rise to emergency priority absent exploitation evidence, especially given the extension's narrow deployment footprint. |
| Exploit ScenarioDerived | An attacker persists a malicious script payload into a SecurePoll field (for example an election/poll parameter or voter-facing text), which is stored without proper output neutralization. When an administrator or voter later loads the affected SecurePoll page, the script executes in their authenticated MediaWiki browser session, enabling session/token theft or actions in their context. No public exploit code is identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 11, 2026
Stored cross-site scripting in the MediaWiki SecurePoll extension allows attacker-supplied content placed into a poll or election field to be rendered without neutralization, executing script in the browser of any user - including election administrators and voters - who later loads the affected SecurePoll page. The issue affects the extension's development branch ('master') rather than a pinned stable release, so exposure is limited to wikis running unreleased SecurePoll code; SecurePoll is an optional election-focused extension and not part of MediaWiki core. Wikimedia rates this CVSS 4.0 6.9 with a PR:N/UI:N vector, but stored XSS of this type realistically depends on content-submission privileges and a victim viewing the poisoned page, which our assessment reflects as CVSS 3.1 6.9 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N); no public exploit code was identified at time of analysis and the CVE is not in CISA KEV.
RemediationAI
Apply the upstream fix from Gerrit change 1189186 in the SecurePoll extension (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/1189186), which is tracked under Phabricator task T402076 (https://phabricator.wikimedia.org/T402076); because the identifier targets 'master', sites should update to the patched extension revision or to the first tagged release that includes the change, and confirm via the vendor advisory which release that is. Since only unreleased code is named, deployments on stable SecurePoll branches should verify with Wikimedia whether they are in scope before assuming safety. Upstream fix available (PR/commit); released patched version not independently confirmed. As compensating controls pending a deploy, restrict who can create or edit SecurePoll elections and their constituent fields to a small, trusted election-committee group using MediaWiki group permissions, since the injection must first be stored - a trade-off that slows legitimate election setup for large communities. Administrators can temporarily disable the SecurePoll extension in LocalSettings.php if no election is in progress, which removes the attack surface entirely at the cost of losing all polling functionality, or otherwise limit access to Special:SecurePoll pages to the election-admin group. Running the MediaWiki version with $wgUseTidy/$wgUseRemexHtml-style output filtering and reviewing any wiki-side HTML sanitization hooks can reduce render-time payload delivery, though these are defense-in-depth measures and not a substitute for the escaping fix.
Affected ProductsAI
The MediaWiki SecurePoll extension on the 'master' (development) branch is affected; no numbered stable release is named in the CVE record, so pinned production installs of tagged SecurePoll releases are not confirmed as vulnerable by this identifier. Because SecurePoll ships as an optional MediaWiki extension rather than core code, only wikis that have installed and enabled it - and that run the unreleased master branch - fall within the stated scope; typical third-party MediaWiki deployments tracking stable releases are largely outside it, while Wikimedia-operated wikis running the fix-pending development code represent the primary exposure. The CPE string was not supplied in the source data, so version-to-product mapping must be confirmed against the upstream advisory references, specifically the Gerrit change at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecurePoll/+/1189186 and the Phabricator task at https://phabricator.wikimedia.org/T402076, which document the exact code path and affected revision range.
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 user input during web page generation, in the SecurePoll extension - the MediaWiki component used to run elections, polls, and structured voting (including the Wikimedia Board and community elections). SecurePoll accepts admin-authored election definitions, candidate lists, questions, and translated interface messages, stores them, and renders them through MediaWiki's output pipeline. Where that stored content reaches the browser without proper escaping (the standard defensive mechanism being MediaWiki's HTML escaping and output sanitization via its parser, message handling, and Sanitizer/Title/HTML escaping helpers), an attacker can persist markup such as script or event-handler payloads that execute under the victim's session. Because the injection point is storage-based rather than reflected, a single crafted field can fire for every subsequent viewer of the poll page. Wikimedia's advisory points to Gerrit change 1189186 and Phabricator task T402076 as the fix/discussion record. The affected code is identified only as 'master', indicating the vulnerable logic lives in the extension's development line rather than a versioned, released branch - consistent with a fix landed directly upstream without a CVE-tagged stable release. Note the discrepancy between the vendor's CVSS 4.0 vector (PR:N/UI:N) and the conventional prerequisites of stored XSS (privileged content submission plus a victim page view); the vendor vector treats the attacker as able to reach the injection path without stated privileges while still requiring rendered output to be consumed.
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 content-submission rights (PR:L) and a victim viewing the page (UI:R); script crosses into the victim's browser context (S:C) with low confidentiality/integrity impact and no availability effect.
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 - SecurePoll Extension allows Stored XSS.This issue affects Mediawiki - SecurePoll Extension: master.
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