CVE-2020-25814

MEDIUM6.1EPSS 0.34%

MediaWiki Cross-site Scripting (XSS) vulnerability

Published: 5/24/2022Modified: 4/28/2026
Also known as:GHSA-4vr7-m8p8-434hBIT-mediawiki-2020-25814DEBIAN-CVE-2020-25814

Description

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.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References (10)