# CVE-2021-34627: WP Upload Restriction <= 2.2.3 - Missing Access Control in getSelectedMimeTypesByRole function

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/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): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2021-07-07T12:21:32.490Z
- Modified: 2026-06-17T03:56:15.523Z
- Weaknesses: CWE-284
- Assigned by: Wordfence

## Description

A vulnerability in the getSelectedMimeTypesByRole function of the WP Upload Restriction WordPress plugin allows low-level authenticated users to view custom extensions added by administrators. This issue affects versions 2.2.3 and prior.

(As written by CVE List.)

## Affected

- WP Upload Restriction WP Upload Restriction: from 2.2.3 up to 2.2.3
- wp-upload-restriction_project wp-upload-restriction: up to 2.2.3

## Every score

- Wordfence: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:P/I:N/A:N`

## References

- <https://www.wordfence.com/vulnerability-advisories/#CVE-2021-34627> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-34627](https://www.cve.org/CVERecord?id=CVE-2021-34627), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-34627](https://nvd.nist.gov/vuln/detail/CVE-2021-34627), Public domain, modified 2026-06-17

---

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