CVE-2020-35479

medium

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.

References

https://www.debian.org/security/2020/dsa-4816

https://phabricator.wikimedia.org/T268938

https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STT5Z4A3BCXVH3WIPICWU2FP4IPIMUPC/

https://lists.debian.org/debian-lts-announce/2020/12/msg00034.html

Details

Source: Mitre, NVD

Published: 2020-12-18

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium