# CVE-2022-4831: Custom User Profile Fields for User Registration & Member Frontend Profiles with Paid Memberships Pro < 1.8.1 - Contributor+ Stored XSS via Shortcode

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/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.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-30T20:31:55.705Z
- Modified: 2026-06-17T05:21:57.753Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## Description

The Custom User Profile Fields for User Registration WordPress plugin before 1.8.1 does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.

(As written by CVE List.)

## Affected

- Unknown Custom User Profile Fields for User Registration & Member Frontend Profiles with Paid Memberships Pro: before 1.8.1
- paidmembershipspro custom_user_profile_fields_for_user_registration: before 1.8.1

## Every score

- CISA-ADP: 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:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://wpscan.com/vulnerability/872fc8e6-4035-4e5a-9f30-16c482c48c7c> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

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

---

Page: https://cve.day/CVE-2022-4831 · Whole record: https://cve.day/CVE-2022-4831.json · Rebuilt by cve.day 2026-11-25T22:58:18.412Z
