# CVE-2021-30158: An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2.

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.73%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-06T06:42:45.000Z
- Modified: 2026-06-17T03:49:45.950Z
- Also known as: BIT-MEDIAWIKI-2021-30158
- Weaknesses: CWE-287
- Assigned by: mitre

## Description

An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. Blocked users are unable to use Special:ResetTokens. This has security relevance because a blocked user might have accidentally shared a token, or might know that a token has been compromised, and yet is not able to block any potential future use of the token by an unauthorized party.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mediawiki mediawiki: before 1.31.12; from 1.32.0 before 1.35.2
- debian debian_linux: 9.0; 10.0
- fedoraproject fedora: 33; 34
- mediawiki (Bitnami): before 1.31.12; from 1.32.0 before 1.35.2

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://phabricator.wikimedia.org/T277009> (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://lists.debian.org/debian-lts-announce/2021/05/msg00003.html> (mailing-list, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html> (mailing-list, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202107-40> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-30158> (web)

## Sources

- CVE List: [CVE-2021-30158](https://www.cve.org/CVERecord?id=CVE-2021-30158), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-30158](https://nvd.nist.gov/vuln/detail/CVE-2021-30158), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MEDIAWIKI-2021-30158](https://osv.dev/vulnerability/BIT-MEDIAWIKI-2021-30158), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2021-30158 · Whole record: https://cve.day/CVE-2021-30158.json · Rebuilt by cve.day 2026-11-25T22:58:00.644Z
