Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege wiki account
-
DeliveryEdit or create page with malicious SyntaxHighlight tag
-
ExploitPayload stored in wiki page via SyntaxHighlight.php
-
ExecutionVictim user views affected page
-
PersistUnsanitized script executes in victim's browser
-
ImpactAttacker exfiltrates session data or performs client-side 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 a low-privilege authenticated account on the target MediaWiki instance (confirmed by PR:L in the CVSS 4.0 vector). The SyntaxHighlight_GeSHi extension must be installed and enabled in the MediaWiki deployment - it is not part of MediaWiki core and must be explicitly loaded. The vulnerability is confined to the SyntaxHighlight.php code path, meaning only wiki pages that render syntax-highlighted content are vectors. Exploitation is limited to confidentiality impact on the vulnerable system (VC:L) with no confirmed integrity or availability impact. Open-registration wikis where untrusted users can edit pages are at greatest risk; wikis restricted to known, trusted editors substantially reduce real-world exposure. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) scores 5.3, reflecting a medium-severity, network-reachable flaw requiring only low-privilege authentication with no attack complexity or special conditions. The VC:L and VI:N/VA:N metrics indicate limited impact - confidentiality exposure only on the vulnerable system, with no downstream scope change. This CVE is not listed in the CISA KEV catalog and no POC has been identified, meaning exploitation probability in the wild is currently low. EPSS data is not provided in the input; without it, real-world exploitation velocity cannot be quantified. One notable tension exists: the supplied CVSS 4.0 vector specifies UI:N (no user interaction), which is atypical for an XSS flaw where a victim must at minimum passively load the injected page - this may represent a vendor choice to reflect stored XSS where attacker action alone places the payload, or it may understate victim-interaction requirements. Defenders in large, open-registration MediaWiki deployments should treat this as a meaningful priority; private or restricted wikis face lower exposure. |
| Exploit ScenarioDerived | An authenticated wiki editor crafts a malicious code block using the SyntaxHighlight parser tag, embedding JavaScript that is not properly escaped by SyntaxHighlight.php. When any other user views the page containing the syntax-highlighted block, the injected script executes in their browser, potentially enabling session cookie theft, phishing overlays, or other client-side attacks. No public exploit code has been identified, but the attack pattern is well understood and trivially reproducible given standard XSS knowledge. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Cross-site scripting in the Wikimedia Foundation SyntaxHighlight_GeSHi MediaWiki extension allows authenticated users to inject unsanitized input via the syntax highlighting interface, with malicious script executing in victims' browsers upon page view. The flaw originates in includes/SyntaxHighlight.php and affects all versions prior to branch-specific fixes at 1.46.0, 1.45.4, 1.44.6, and 1.43.9. No public exploit code or active exploitation has been identified at time of analysis, and the CVSS 4.0 score of 5.3 (Medium) reflects limited confidentiality impact scoped to the vulnerable system.
RemediationAI
Upgrade SyntaxHighlight_GeSHi to the branch-appropriate patched release: 1.46.0 (for MediaWiki 1.46 deployments), 1.45.4 (for 1.45), 1.44.6 (for 1.44), or 1.43.9 (for 1.43). Patch details are tracked at https://phabricator.wikimedia.org/T427167. If an immediate upgrade is not feasible, a compensating control is to restrict wiki editing permissions so that only highly trusted users can create or edit pages containing syntax-highlighted code blocks - this reduces the attacker pool but does not eliminate the vulnerability and may limit wiki functionality. Disabling the SyntaxHighlight_GeSHi extension entirely via LocalSettings.php ($wgAutoloadExtensions or wfLoadExtension removal) eliminates the attack surface at the cost of losing all syntax highlighting capability.
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
SyntaxHighlight_GeSHi is a MediaWiki extension wrapping the GeSHi (Generic Syntax Highlighter) PHP library to render syntax-colored code blocks on wiki pages. The vulnerability resides in includes/SyntaxHighlight.php and is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating that user-supplied input is incorporated into page output without sufficient sanitization or encoding. MediaWiki extensions execute in the PHP layer and render HTML that is then served to downstream browser clients, making any unescaped output a viable XSS vector. The affected CPE is cpe:2.3:a:wikimedia_foundation:syntaxhighlight_geshi:*:*:*:*:*:*:*:*.
Know when PHP 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:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network XSS requiring low-privilege auth; victim must load page (UI:R); scope changes to victim browser; minor confidentiality and integrity impact.
Primary rating from Vendor (wikimedia-foundation).
CVSS VectorVendor: wikimedia-foundation
Lifecycle Timeline
1DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation SyntaxHighlight_GeSHi.
This vulnerability is associated with program files includes/SyntaxHighlight.Php.
This issue affects SyntaxHighlight_GeSHi: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-41018
GHSA-vmx6-3fp5-595p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB