CVE-2020-25815: MediaWiki Cross-site Scripting (XSS) vulnerability
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.57351%
CWE
Published
5/24/2022
Updated
5/17/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/core | composer | >= 1.32.0, < 1.34.3 | 1.34.3 |
| mediawiki/core | composer | >= 1.35.0-rc.0, < 1.35.0 | 1.35.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly identifies LogEventList::getFiltersDesc as the source of insecure message handling. The provided code diff shows it originally used $message->text() to populate HTML options, which doesn't escape special characters. The security patch replaced this with 'options-messages' (which auto-escapes) and removed fallback logic for legacy messages, confirming the XSS vector was in this function's output generation.