An issue was discovered in MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4. The non-jqueryMsg version of mw.message().parse() doesn't escape HTML. This affects both message contents (which are generally safe) and the parameters (which can be based on user input). (When jqueryMsg is loaded, it correctly accepts only whitelisted tags in message contents, and escapes all parameters. Situations with an unloaded jqueryMsg are rare in practice, but can for example occur for Special:SpecialPages on a wiki with no extensions installed.)
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-4110 An issue was discovered in MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4. The non-jqueryMsg version of mw.message().parse() doesn't escape HTML. This affects both message contents (which are generally safe) and the parameters (which can be based on user input). (When jqueryMsg is loaded, it correctly accepts only whitelisted tags in message contents, and escapes all parameters. Situations with an unloaded jqueryMsg are rare in practice, but can for example occur for Special:SpecialPages on a wiki with no extensions installed.)
Github GHSA Github GHSA GHSA-h8qx-mj6v-2934 MediaWiki Cross-site Scripting (XSS) vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T15:40:36.947Z

Reserved: 2020-09-23T00:00:00

Link: CVE-2020-25828

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-09-27T21:15:12.877

Modified: 2024-11-21T05:18:51.293

Link: CVE-2020-25828

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-09-27T00:00:00Z

Links: CVE-2020-25828 - Bugzilla

cve-icon OpenCVE Enrichment

No data.