CVE-2020-25814

mediawiki: XSS via javascript:payload

Published Sep 27, 2020 CVSS 3.1 · 6.1 Medium EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2379-1 mediawiki security update
Debian DSA Debian DSA DSA-4767-1 mediawiki security update
EUVD EUVD EUVD-2022-2452 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.
Github GHSA Github GHSA GHSA-4vr7-m8p8-434h MediaWiki Cross-site Scripting (XSS) vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 3:40 PM
Reserved
Sep 23, 2020, 12:00 AM
Status
Modified
Published
Sep 27, 2020, 9:15 PM
Modified
Jun 17, 2026, 3:07 AM
Severity
Moderate
Public date
Sep 27, 2020, 12:00 AM