CVE-2021-46150: MediaWiki - Reflected XSS
- Cve: CVE-2021-46150
- Name: MediaWiki - Reflected XSS
- Description: 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. Special:CheckUserLog allows CheckUser XSS because of date mishandling, as demonstrated by an XSS payload in MediaWiki:October.
- Impact: Attackers can execute malicious scripts in the context of the affected user, leading to potential session hijacking or defacement.
- Remediation: Update to MediaWiki 1.35.5, 1.36.3, or 1.37.1 or later versions.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to visit a maliciously crafted page
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00668
- Epss percentile: 0.52879
- Assignee: [email protected]
- Published at: 2022-01-10T14:11:29Z
- Age in days: 1779
- Modified at: 2026-06-17T04:14:35Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-46150
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://phabricator.wikimedia.org/T292795 | nvd | 2022-01-10 |
References
| Url | Source | Tags |
|---|---|---|
| https://phabricator.wikimedia.org/T292795 | nvd | Exploit, Third Party Advisory |
| https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/CheckUser/+/79c2c49a18f96b159258958feca90fce964c350a | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mediawiki:mediawiki | >= 1.37.0, < 1.37.1; >= 1.36.0, < 1.36.3; < 1.35.5 | no | nvd | /v1/products/mediawiki/mediawiki |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-01-10
- Remote: yes
- Authentication required: yes
- Exposed hosts: 170630
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports