# CVE-2021-34625: WP Upload Restriction <= 2.2.3 - Authenticated Stored Cross-Site Scripting

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/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): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-07T12:21:38.493Z
- Modified: 2026-06-17T03:56:15.307Z
- Weaknesses: CWE-79
- Assigned by: Wordfence

## Description

A vulnerability in the saveCustomType function of the WP Upload Restriction WordPress plugin allows low-level authenticated users to inject arbitrary web scripts. 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 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

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

## Sources

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

---

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