CVE-2021-30154
6.1medium
An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2.
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.30% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-MEDIAWIKI-2021-30154
Description
An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. On Special:NewFiles, all the mediastatistics-header-* messages are output in HTML unescaped, leading to XSS.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mediawiki mediawiki | before 1.31.12, from 1.32.0 before 1.35.2 | NVD |
| debian debian_linux | 10.0 | NVD |
| fedoraproject fedora | 33, 34 | NVD |
| mediawiki (Bitnami) | before 1.31.12, from 1.32.0 before 1.35.2 | 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 MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. On Special:NewFiles, all the mediastatistics-header-* messages are output in HTML unescaped, leading to XSS.
NVD (es)
Se detectó un problema en MediaWiki versiones anteriores a 1.31.12 y versiones 1.32.x hasta 1.35.x anteriores a 1.35.2. En Special: NewFiles, todos los mensajes mediastatistics-header-* son generados en HTML sin escape, conllevando a una vulnerabilidad de tipo XSS
References
| https://phabricator.wikimedia.org/T278014 | exploit, issue-tracking, patch, vendor-advisory, web | |
| https://www.debian.org/security/2021/dsa-4889 | third-party-advisory, vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/26UJGHF7LJDOCQN6A3Z4PM7PYRKENJHE/ | vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2OMSV7B2TCFBOCICN3B4SMQP5HVRJQIT/ | vendor-advisory, web | |
| https://security.gentoo.org/glsa/202107-40 | third-party-advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-30154 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-30154 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-30154 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MEDIAWIKI-2021-30154 changed 2025-04-03 | Apache-2.0 |