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

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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.20%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-09T06:08:35.000Z
- Modified: 2026-06-17T03:49:45.150Z
- Also known as: BIT-MEDIAWIKI-2021-30152
- Weaknesses: CWE-269
- Assigned by: mitre

## Description

An issue was discovered in MediaWiki before 1.31.13 and 1.32.x through 1.35.x before 1.35.2. When using the MediaWiki API to "protect" a page, a user is currently able to protect to a higher level than they currently have permissions for.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://phabricator.wikimedia.org/T270713> (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-30152> (web)

## Sources

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

---

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