logo

CVE-2020-25828 mediawiki/core

Package

Manager: composer
Name: mediawiki/core
Vulnerable Version: >=1.31.0 <1.31.9 || >=1.32.0 <1.34.3 || >=1.35.0-rc.0 <1.35.0

Severity

Level: Medium

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00433 pctl0.61853

Details

MediaWiki Cross-site Scripting (XSS) vulnerability An issue was discovered in MediaWiki before 1.31.9 and 1.32.x through 1.34.x before 1.34.3. 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.)

Metadata

Created: 2022-05-24T17:29:42Z
Modified: 2024-05-17T21:56:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-h8qx-mj6v-2934/GHSA-h8qx-mj6v-2934.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-h8qx-mj6v-2934
Finding: F008
Auto approve: 1