CVE-2021-42043Mediawiki
Medium 6.1 No auth needed
Follow: this CVE · Mediawiki · Mediawiki We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 56
- Auth required
- No
- Published
- Oct 6, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.
What to do
- Apply the vendor's security update for Mediawiki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mediawiki | mediawiki | ≤ 1.36.2 |
Official sources
References
Links published by the sources. Open them with care.
- gerrit.wikimedia.org Patch Vendor Advisory
- phabricator.wikimedia.org Issue Tracking Patch Vendor Advisory