Cross-site Scripting (XSS) Affecting mediawiki package, versions <1:1.35.0-1
Snyk CVSS
Threat Intelligence
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-DEBIAN11-MEDIAWIKI-1012650
- published 25 Sep 2020
- disclosed 27 Sep 2020
Introduced: 25 Sep 2020
CVE-2020-25814 Open this link in a new tabHow to fix?
Upgrade Debian:11
mediawiki
to version 1:1.35.0-1 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:11
relevant fixed versions and status.
In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an <a> tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an <a href ="javascript... that executes when clicked.
References
- https://security-tracker.debian.org/tracker/CVE-2020-25814
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html
- https://www.mediawiki.org/wiki/ResourceLoader/Core_modules#mediawiki.jqueryMsg
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/