# CVE-2022-4305: Login as User or Customer < 3.3 - Unauthenticated Privilege Escalation to Admin

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 38.6%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-23T14:31:57.132Z
- Modified: 2026-06-17T05:20:32.650Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## Description

The Login as User or Customer WordPress plugin before 3.3 lacks authorization checks to ensure that users are allowed to log in as another one, which could allow unauthenticated attackers to obtain a valid admin session.

(As written by CVE List.)

## Affected

- Unknown Login as User or Customer: before 3.3
- wp-buy login_as_user_or_customer_(user_switching): before 3.3

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://wpscan.com/vulnerability/286d972d-7bda-455c-a226-fd9ce5f925bd> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

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

---

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