CVE-2022-4305Wp-buy Login As User Or Customer (user Switching)
Critical 9.8 No auth needed
Follow: this CVE · Wp-buy · Wp-buy Login As User Or Customer (user Switching) We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.3% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jan 23, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Login As User Or Customer (user Switching).
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wp-buy | login_as_user_or_customer_(user_switching) | < 3.3 |
Official sources
References
Links published by the sources. Open them with care.
- wpscan.com Exploit Third Party Advisory