CVE-2020-25828
published 2020-09-27CVE-2020-25828: 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…
PriorityP425medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
1.09%
61.9th percentile
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.)
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | mediawiki | < mediawiki 1:1.35.0-1 (bookworm) | mediawiki 1:1.35.0-1 (bookworm) |
| fedoraproject | fedora | — | — |
| mediawiki | core | >= 1.31.0 < 1.31.9 | 1.31.9 |
| mediawiki | core | >= 1.32.0 < 1.34.3 | 1.34.3 |
| mediawiki | core | >= 1.35.0-rc.0 < 1.35.0 | 1.35.0 |
| mediawiki | mediawiki | — | — |
| mediawiki | mediawiki | >= 0 < 1:1.35.0-1 | 1:1.35.0-1 |
| mediawiki | mediawiki | >= 0 < 1:1.35.0-1 | 1:1.35.0-1 |
| mediawiki | mediawiki | >= 0 < 1:1.35.0-1 | 1:1.35.0-1 |
| mediawiki | mediawiki | >= 0 < 1:1.35.0-1 | 1:1.35.0-1 |
| mediawiki | mediawiki | >= 1.32.0 < 1.34.4 | 1.34.4 |
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vendor_debian6.1MEDIUM
vendor_redhat6.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
MediaWiki Cross-site Scripting (XSS) vulnerability
ghsa·2022-05-24
CVE-2020-25828 [MEDIUM] CWE-79 MediaWiki Cross-site Scripting (XSS) vulnerability
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.)
OSV
MediaWiki Cross-site Scripting (XSS) vulnerability
osv·2022-05-24
CVE-2020-25828 [MEDIUM] MediaWiki Cross-site Scripting (XSS) vulnerability
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.)
OSV
CVE-2020-25828: An issue was discovered in MediaWiki before 1
osv·2020-09-27·CVSS 6.1
CVE-2020-25828 [MEDIUM] CVE-2020-25828: An issue was discovered in MediaWiki before 1
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.)
Red Hat
mediawiki: non-jqueryMsg version of mw.message().parse() doesn't escape HTML leads to XSS
vendor_redhat·2020-09-27·CVSS 6.1
CVE-2020-25828 [MEDIUM] CWE-79 mediawiki: non-jqueryMsg version of mw.message().parse() doesn't escape HTML leads to XSS
mediawiki: non-jqueryMsg version of mw.message().parse() doesn't escape HTML leads to XSS
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.)
Statement: OpenShift Container Platform (OCP) delivers the mediawiki package, but the vulnerable code is not bundled, therefore OCP is not affected by this
Debian
CVE-2020-25828: mediawiki - An issue was discovered in MediaWiki before 1.31.10 and 1.32.x through 1.34.x be...
vendor_debian·2020·CVSS 6.1
CVE-2020-25828 [MEDIUM] CVE-2020-25828: mediawiki - An issue was discovered in MediaWiki before 1.31.10 and 1.32.x through 1.34.x be...
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.)
Scope: local
bookworm: resolved (fixed in 1:1.35.0-1)
bullseye: resolved (fixed in 1:1.35.0-1)
forky: resolved (fixed in 1:1.35.0-1)
sid: resolved (fixed in 1:1.35.0-1)
trixie: resolved (fixed in 1:1.35.0-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/https://lists.wikimedia.org/pipermail/mediawiki-announcehttps://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.htmlhttps://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/https://lists.wikimedia.org/pipermail/mediawiki-announcehttps://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.htmlhttps://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html
2020-09-27
Published