CVE-2021-41798 json
MediaWiki before 1.36.2 allows XSS.
published 2021-10-11 5 y ago modified 2026-06-17 4 mo ago also BIT-mediawiki-2021-41798 , EUVD-2021-28806
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
MediaWiki before 1.36.2 allows XSS. Month related MediaWiki messages are not escaped before being used on the Special:Search results page.
Patch / fix
- bitnami mediawiki 1.36.2
- mediawiki mediawiki 1.36.2
- mediawiki Debian 14, Debian 13, Debian 12 1:1.35.4-1
debian advisories DEBIAN-CVE-2021-41798
- mediawiki Arch Linux 1.36.2-1
arch linux advisories AVG-2434
- phabricator.wikimedia.org/T285515 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-41798 updated cvss 6.1
mediawiki: Cross-site scripting (XSS) in Special:Search
-
Red Hat OpenShift Container Platform 3.11 mediawikinot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.44% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- phabricator.wikimedia.org https://phabricator.wikimedia.org/T285515 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mediawiki | <1.36.2 |
1.36.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
phabricator.wikimedia.org
/T285515
exploit, patch, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QNEAI2T3Y65I55ZB6UE6RMC662RZTGRX/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CJDYJQWT43GBD6GNQ4OW7JOZ6WQ6DZTN/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MDBPECBWN6LWNSWIQMVXK6PP4YFEUYHA/
vendor-advisory, web
-
security.gentoo.org
/glsa/202305-24
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-41798
web
Sources
- CVE List CVE-2021-41798
- NVD CVE-2021-41798
- OSV BIT-mediawiki-2021-41798
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.