Cross-site Scripting (XSS) Affecting mediawiki package, versions <1:1.27.7-1~deb9u7
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Scope
Changed
Threat Intelligence
EPSS
0.21% (59th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-MEDIAWIKI-1052812
- published 18 Dec 2020
- disclosed 18 Dec 2020
Introduced: 18 Dec 2020
CVE-2020-35479 Open this link in a new tabHow to fix?
Upgrade Debian:9
mediawiki
to version 1:1.27.7-1~deb9u7 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream mediawiki
package and not the mediawiki
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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://security-tracker.debian.org/tracker/CVE-2020-35479
- https://www.debian.org/security/2020/dsa-4816
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/STT5Z4A3BCXVH3WIPICWU2FP4IPIMUPC/
- https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html
- https://phabricator.wikimedia.org/T268938
- https://lists.debian.org/debian-lts-announce/2020/12/msg00034.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STT5Z4A3BCXVH3WIPICWU2FP4IPIMUPC/