CVE-2021-46146 json
An issue was discovered in MediaWiki before 1.35.5, 1.36.x before 1.36.3, and 1.37.x before 1.37.1.
published 2022-01-07 4 y ago modified 2026-06-17 4 mo ago also BIT-mediawiki-2021-46146 , EUVD-2021-32846
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
An issue was discovered in MediaWiki before 1.35.5, 1.36.x before 1.36.3, and 1.37.x before 1.37.1. The WikibaseMediaInfo component is vulnerable to XSS via the caption fields for a given media file.
Patch / fix
- bitnami mediawiki 1.35.5, 1.36.3, 1.37.1
- mediawiki mediawiki 1.35.5, 1.36.3, 1.37.1
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-46146 updated cvss 5.4
mediawiki: XSS via the caption fields for a given media file
-
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
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mediawiki | <1.35.5 >=1.36.0, <1.36.3 >=1.37.0, <1.37.1 |
1.35.5 1.36.3 1.37.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
phabricator.wikimedia.org
/T293556
third-party-advisory, web
-
gerrit.wikimedia.org
/r/q/I58d37fb59f998f5bec4a018bf9da96a777f8ff78
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-46146
web
Sources
- CVE List CVE-2021-46146
- NVD CVE-2021-46146
- OSV BIT-mediawiki-2021-46146
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.