CVE-2022-48614: Cross-site Scripting in Semantic MediaWiki
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.29422%
CWE
Published
12/10/2023
Updated
2/7/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| mediawiki/semantic-media-wiki | composer | < 4.0.2 | 4.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows the vulnerable code returned raw user input via 'query_string' => $this->queryString in SpecialAsk.php. This value was rendered in the query log without proper HTML escaping, enabling reflected XSS through malicious query parameters. The patch explicitly adds htmlspecialchars() to neutralize dangerous characters, confirming this was the vulnerable code path. The CWE-79 classification and advisory details about Special:Ask endpoint being affected further corroborate this analysis.