# CVE-2023-6165: Restrict Usernames Emails Characters Plugin < 3.1.4 - Admin+ Stored XSS

- Severity: Medium 4.8 (CVSS:3.1, scored by CISA-ADP) `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.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-01-29T14:44:28.461Z
- Modified: 2026-06-17T06:50:11.583Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## Description

The Restrict Usernames Emails Characters WordPress plugin before 3.1.4 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Cross-Site Scripting attacks even when unfiltered_html is disallowed

(As written by CVE List.)

## Affected

- Unknown Restrict Usernames Emails Characters: before 3.1.4
- benaceur-php restrict_usernames_emails_characters: before 3.1.4

## Every score

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

## References

- <https://wpscan.com/vulnerability/aba62286-9a82-4d5b-9b47-1fddde5da487/> (exploit, technical-description, third-party-advisory, vdb-entry)
- <https://github.com/youki992/youki992.github.io/blob/master/others/apply2.md> (exploit, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-6165 · Whole record: https://cve.day/CVE-2023-6165.json · Rebuilt by cve.day 2026-11-25T22:58:32.274Z
