CVE-2020-25828
MediaWiki Cross-site Scripting (XSS) vulnerability
Description
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.)
How to fix CVE-2020-25828
To remediate CVE-2020-25828, upgrade the affected package to a fixed version below.
- —upgrade to 1.31.11 or later
- —upgrade to 1:1.35.0-1 or later
- —upgrade to 1.31.9 or later
Is CVE-2020-25828 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 1.31.10, < 1.31.11, >= 1.32.0, < 1.34.4
- from 0, < 1:1.35.0-1
- >= 1.31.0, < 1.31.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |