CVE-2026-58030
SyntaxHighlight stored XSS via unsanitized 'linelinks' attribute
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.
INFO
Published Date :
July 1, 2026, 4:16 p.m.
Last Modified :
July 9, 2026, 7:38 p.m.
Remotely Exploit :
Yes !
Source :
c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | c4f26cc8-17ff-4c99-b5e2-38fc1793eacc | ||||
| CVSS 4.0 | MEDIUM | c4f26cc8-17ff-4c99-b5e2-38fc1793eacc |
Solution
- Update SyntaxHighlight_GeSHi to version 1.46.0 or later.
- Ensure input is properly sanitized before rendering.
- Implement output encoding for user-supplied data.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-58030.
| URL | Resource |
|---|---|
| https://phabricator.wikimedia.org/T427167 | Permissions Required |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-58030 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-58030
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-58030 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-58030 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 09, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* versions from (including) 1.44.0 up to (excluding) 1.44.6 *cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* versions from (including) 1.45.0 up to (excluding) 1.45.4 *cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* versions from (including) 1.43.0 up to (excluding) 1.43.9 *cpe:2.3:a:mediawiki:mediawiki:1.46.0:rc0:*:*:*:*:*:* Added Reference Type wikimedia-foundation: https://phabricator.wikimedia.org/T427167 Types: Permissions Required -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 01, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-58030', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-01T15:48:48.602789Z'} -
New CVE Received by c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
Jul. 01, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://gerrit.wikimedia.org/g/mediawiki/extensions/SyntaxHighlight_GeSHi/+/refs/heads/master', 'vendor': 'Wikimedia Foundation', 'product': 'SyntaxHighlight_GeSHi', 'versions': [{'status': 'affected', 'version': '*', 'lessThan': '1.46.0, 1.45.4, 1.44.6, 1.43.9', 'versionType': 'semver'}], 'programFiles': ['includes/SyntaxHighlight.php'], 'defaultStatus': 'unaffected'}] 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-79 Added Reference https://phabricator.wikimedia.org/T427167