CVE-2021-42043 json
An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2.
published 5y ago modified 4mo ago also BIT-mediawiki-2021-42043 , EUVD-2021-29031
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami mediawiki 1.36.3
Is CVE-2021-42043 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).
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.3 |
1.36.3 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
phabricator.wikimedia.org
/T291600
issue-tracking, patch, vendor-advisory, web
-
gerrit.wikimedia.org
/r/q/If64eb5842237c92290d07ebc3fe14710d9de3fc2
patch, vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-42043
web
Sources
- CVE List CVE-2021-42043
- NVD CVE-2021-42043
- OSV BIT-mediawiki-2021-42043
Fencer Intel 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.