6.1medium
An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2.
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.75% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-MEDIAWIKI-2021-42043
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mediawiki mediawiki | up to 1.36.2 | NVD |
| mediawiki (Bitnami) | before 1.36.3 | Bitnami Vulnerability Database |
All scores
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha detectado un problema en la función Special:MediaSearch en la extensión MediaSearch en MediaWiki versiones hasta 1.36.2. El texto de la sugerencia (un parámetro de mediasearch-did-you-mean) no saneaba apropiadamente y permitía una inyección y ejecución de HTML y JavaScript por medio del operador de búsqueda intitle: dentro de la consulta
References
| https://phabricator.wikimedia.org/T291600 | issue-tracking, patch, vendor-advisory, web | |
| https://gerrit.wikimedia.org/r/q/If64eb5842237c92290d07ebc3fe14710d9de3fc2 | patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-42043 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42043 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-42043 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MEDIAWIKI-2021-42043 changed 2025-04-03 | Apache-2.0 |