Description
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.
Published: 2026-07-01
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from improper neutralization of input during web page generation in the Wikimedia Foundation SyntaxHighlight_GeSHi library. A maliciously crafted value for the 'linelinks' attribute is stored in page source and later output without escaping, providing a persistent XSS vector. When a user views the affected page, the injected script runs in the user's browser with the same privileges as the page, potentially exposing session data or performing further malicious actions.

Affected Systems

All versions of Wikimedia Foundation SyntaxHighlight_GeSHi older than 1.46.0, including 1.45.4, 1.44.6, 1.43.9 and any earlier releases, are affected.

Risk and Exploitability

The CVSS score of 5.3 places this vulnerability in the moderate severity range. The EPSS score is below 1%, suggesting exploitation is currently unlikely, and the issue is not listed in the CISA KEV catalog. Attackers must embed malicious code into the 'linelinks' attribute during content creation; the stored value is then interpreted for each viewer, making the vulnerability potentially widespread if the attribute can be controlled.

Generated by OpenCVE AI on July 21, 2026 at 14:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SyntaxHighlight_GeSHi to version 1.46.0 or later, which removes the vulnerable handling of the linelinks attribute.
  • Configure the site to reject or strip the 'linelinks' attribute before it is stored or rendered, preventing malicious content from being persisted.
  • Ensure all dynamic output generated by SyntaxHighlight_GeSHi passes proper HTML encoding to prevent stored cross‑site scripting.

Generated by OpenCVE AI on July 21, 2026 at 14:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6380-1 mediawiki security update
References
History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Wikimedia
Wikimedia syntaxhighlight Geshi
Vendors & Products Wikimedia
Wikimedia syntaxhighlight Geshi

Wed, 01 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title SyntaxHighlight stored XSS via unsanitized 'linelinks' attribute
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Wikimedia Syntaxhighlight Geshi
cve-icon MITRE

Status: PUBLISHED

Assigner: wikimedia-foundation

Published:

Updated: 2026-07-01T15:48:58.797Z

Reserved: 2026-06-27T13:32:37.577Z

Link: CVE-2026-58030

cve-icon Vulnrichment

Updated: 2026-07-01T15:48:54.831Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T14:15:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')