Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker obtains wiki editor account
-
DeliveryCreates malicious Lua module or template
-
ExploitInjects unescaped JavaScript into module output
-
ExecutionVictim editor views the page
-
PersistBrowser executes injected script in victim's session context
-
ImpactAttacker gains unauthorized access to victim's wiki permissions
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 attacker to possess a valid wiki user account with edit permissions in at least one namespace where Scribunto modules or templates can be created or modified (typically Template or Module namespace on public wikis, but restricted on private/internal wikis). The Scribunto extension must be installed and enabled in the MediaWiki instance. The vulnerable code path is triggered when Scribunto processes Lua output or template parameters that are not properly escaped before HTML rendering. Wikis with strict edit controls, pending changes review, or disabled Scribunto extension are not vulnerable. The XSS payload executes only when a different user views the affected page, requiring implicit user interaction (page visit) rather than direct attacker action. |
| Impact | Risk is significantly lower than raw CVSS suggests. CVSS 4.0 vector indicates attack vector network (accessible remotely) but attack complexity high and privileges required (login needed), limiting real-world exploitation. EPSS data not provided; however, the authentication barrier (PR:L) and high attack complexity substantially reduce exploitability compared to unauthenticated network vulnerabilities. No KEV status, no public POC, and no indication of active exploitation suggest this is a controlled-risk issue affecting only authenticated wiki editors. The low availability impact (VA:L) and zero confidentiality/integrity impacts on the system itself indicate XSS affects user browsers, not server infrastructure. Realistic priority is medium for wiki operators with public editable namespaces but low for closed-wiki deployments with restricted editor access. |
| Exploit ScenarioDerived | A logged-in wiki editor crafts a Lua module or template that injects malicious JavaScript through Scribunto's output generation. When the resulting wiki page is rendered and viewed by other editors or administrators, the injected script executes in their browsers with the permissions of their wiki accounts, potentially stealing session cookies, modifying page content, or escalating privileges if the viewer holds admin rights. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Cross-site scripting (XSS) vulnerability in Wikimedia Scribunto 1.45.0 through 1.45.1 allows authenticated users to inject malicious scripts that may be executed in the context of other users' browsers, potentially compromising session security and enabling unauthorized actions on affected wiki installations. The vulnerability requires login credentials and elevated attack complexity but carries low availability impact; CVSS 2.3 reflects limited real-world threat when combined with the authentication requirement.
RemediationAI
Upgrade Scribunto to version 1.45.2 or later immediately. No workarounds are available prior to patching. Wiki administrators should review Scribunto extension settings in LocalSettings.php and confirm the installed version via Special:Version in MediaWiki. After upgrade, clear browser caches and session cookies to ensure any cached XSS payloads are not replayed. For administrators unable to patch immediately, consider temporarily disabling Scribunto (set $wgScribuntoEngineConf['default'] = false;) if Lua scripting is not critical, though this will break dependent wiki functionality. Patch availability is confirmed from vendor (Wikimedia Foundation); see advisory at https://phabricator.wikimedia.org/T419168.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Scribunto is a Lua scripting engine extension for MediaWiki that enables dynamic content generation through Lua modules. The vulnerability stems from improper input validation or output encoding in Scribunto's template or script processing mechanism (CWE-79: Improper Neutralization of Input During Web Page Generation). The flaw allows authenticated users to inject unvalidated user-controlled data into generated HTML, bypassing browser same-origin protections depending on context. This affects the core Scribunto extension across MediaWiki installations where the extension is enabled and where wiki markup or Lua script output is not properly sanitized.
Know when Scribunto 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:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Primary rating from Vendor (wikimedia-foundation) · only source for this CVE.
CVSS VectorVendor: wikimedia-foundation
Lifecycle Timeline
4DescriptionCVE.org
Vulnerability in Wikimedia Foundation Scribunto.
This issue affects Scribunto: from 1.45.0 before 1.45.2.
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.
Improper Access Control vulnerability in Wikimedia Foundation Mediawiki - Scribunto Extension allows : Accessing Functio
Cross-site scripting (XSS) vulnerability in the Scribunto extension for MediaWiki allows remote attackers to inject arbi
EUVD-2026-29061
GHSA-mcf6-vhp9-g7jr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB