Skip to main content

SyntaxHighlight GeSHi CVE-2026-58030

| EUVDEUVD-2026-41018 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-01 wikimedia-foundation GHSA-vmx6-3fp5-595p
5.3
CVSS 4.0 · Vendor: wikimedia-foundation
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege wiki account
  2. Delivery
    Edit or create page with malicious SyntaxHighlight tag
  3. Exploit
    Payload stored in wiki page via SyntaxHighlight.php
  4. Execution
    Victim user views affected page
  5. Persist
    Unsanitized script executes in victim's browser
  6. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

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

SyntaxHighlight_GeSHi * <1.46.0, 1.45.4, 1.44.6, 1.43.9

Affected Packages

euvd syntaxhighlight_geshi_1_46_0_1_45_4_1_44_6 no fix

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

Vendor (wikimedia-foundation) PRIMARY 5.3 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Network XSS requiring low-privilege auth; victim must load page (UI:R); scope changes to victim browser; minor confidentiality and integrity 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:N/SI:N/SA:N

Primary rating from Vendor (wikimedia-foundation).

CVSS VectorVendor: wikimedia-foundation

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

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 17:01 EUVD

DescriptionCVE.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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
widely used MediaWiki extension, not core; selective deployment
Data Quality
6 sources
Confidence: High

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.4%
Patch available Yes
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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