# CVE-2021-4222: WP Paginate < 2.1.4 - Admin+ Stored Cross-Site Scripting

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/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.81%, higher than 54% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-02-28T09:06:40.000Z
- Modified: 2026-06-17T04:19:14.680Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The WP-Paginate WordPress plugin before 2.1.4 does not sanitise and escape its preset settings, allowing high privilege users such as admin to perform Cross-Site Scripting attacks even when the unfiltered_html is disallowed

(As written by CVE List.)

## Affected

- Unknown WP-Paginate: from 2.1.4 before 2.1.4
- maxfoundry wp-paginate: before 2.1.4

## Every score

- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/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://wpscan.com/vulnerability/6df5f5b1-f10b-488e-80b3-2c024bbb8c78> (exploit, third-party-advisory)
- <https://packetstormsecurity.com/files/160800/> (exploit, third-party-advisory, vdb-entry)

## Sources

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

---

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