CVE-2020-25815 json
MediaWiki Cross-site Scripting (XSS) vulnerability
published 6y ago modified 4mo ago also BIT-mediawiki-2020-25815 , EUVD-2022-1972 , GHSA-2f58-vf6g-6p8x
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
An issue was discovered in MediaWiki 1.32.x through 1.34.x before 1.34.4. LogEventList::getFiltersDesc is insecurely using message text to build options names for an HTML multi-select field. The relevant code should use escaped() instead of text().
Patch / fix
- packagist mediawiki/core 1.34.3, 1.35.0
- bitnami mediawiki 1.34.4
- mediawiki mediawiki 1.34.4
- mediawiki Debian 14, Debian 13, Debian 12 1:1.35.0-1
debian advisories DEBIAN-CVE-2020-25815
Is CVE-2020-25815 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-25815 updated cvss 6.1
mediawiki: LogEventList:: getFiltersDesc is insecurely using message text to build options names for HTML multi-select field
-
Red Hat OpenShift Container Platform 3.11 mediawiki Red Hat OpenShift Container Platform 4 mediawikinot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.10% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mediawiki/core | >=1.32.0, <1.34.3 >=1.35.0-rc.0, <1.35.0 |
1.34.3 1.35.0 |
| bitnami | mediawiki | >=1.32.0, <1.34.4 |
1.34.4 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
gerrit.wikimedia.org
/g/mediawiki/core/+/ec76e14be658187544f07c1a249a047e1a75eaf8/includes/logging/LogEventsList.php#214
web, patch, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/
vendor-advisory, web
-
lists.wikimedia.org
/pipermail/mediawiki-l/2020-September/048480.html
web, mailing-list, vendor-advisory
-
lists.wikimedia.org
/pipermail/mediawiki-l/2020-September/048488.html
web, mailing-list, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25815
advisory, web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-25815.yaml
web
-
github.com
/wikimedia/mediawiki
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6
web
-
phabricator.wikimedia.org
/T256171
web
Sources
- CVE List CVE-2020-25815
- GitHub Advisory GHSA-2f58-vf6g-6p8x
- NVD CVE-2020-25815
- OSV BIT-mediawiki-2020-25815
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.