CVE-2020-35479
publishedmediawiki: potential XSS via the month messages such as MediaWiki:january through MediaWiki:december outputting Block Logs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | buster | mediawiki | Advisory build | 1:1.31.12-1~deb10u1 | DSA-4816-1 |
| Debian | stretch | mediawiki | Advisory build | 1:1.27.7-1~deb9u7 | DLA-2504-1 |
Description
MediaWiki before 1.35.1 allows XSS via BlockLogFormatter.php. Language::translateBlockExpiry itself does not escape in all code paths. For example, the return of Language::userTimeAndDate is is always unsafe for HTML in a month value. This affects MediaWiki 1.12.0 and later.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- [debian-lts-announce] 20201223 [SECURITY] [DLA 2504-1] mediawiki security update https://lists.debian.org/debian-lts-announce/2020/12/msg00034.html
- FEDORA-2020-0be2d40e13 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STT5Z4A3BCXVH3WIPICWU2FP4IPIMUPC/
- https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html
- https://phabricator.wikimedia.org/T268938
- DSA-4816 https://www.debian.org/security/2020/dsa-4816
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 35ab7c84cfe43e9b54d7a7e6b64c9475df80a18e2d99397f6c50e3a25b9b9a1b
- Ingested
- 23 Sep 2026, 07:50:19 UTC
- Source record
- Official CVE record