# CVE-2025-6831: User Registration <= 4.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via urcr_restrict Shortcode

- 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.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2025-07-22T01:44:28.244Z
- Modified: 2026-06-17T10:02:39.090Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The User Registration plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's urcr_restrict shortcode in all versions up to, and including, 4.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

(As written by CVE List.)

## Affected

- wpeverest User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder: up to 4.2.4

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/50f3e469-f788-45da-95e7-aa6da1e87fd1?source=cve>
- <https://plugins.trac.wordpress.org/browser/user-registration/tags/4.2.4/modules/content-restriction/class-urcr-shortcodes.php>
- <https://plugins.trac.wordpress.org/browser/user-registration/tags/4.2.4/modules/content-restriction/class-urcr-shortcodes.php#L147>
- <https://wordpress.org/plugins/user-registration/#developers>
- <https://plugins.trac.wordpress.org/changeset/3329704/>

## Sources

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

---

Page: https://cve.day/CVE-2025-6831 · Whole record: https://cve.day/CVE-2025-6831.json · Rebuilt by cve.day 2026-11-25T22:59:01.558Z
