{"api_version":"1","generated_at":"2026-07-23T23:58:28+00:00","cve":"CVE-2022-4305","urls":{"html":"https://cve.report/CVE-2022-4305","api":"https://cve.report/api/cve/CVE-2022-4305.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-4305","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4305"},"summary":{"title":"CVE-2022-4305","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.","state":"PUBLIC","assigner":"contact@wpscan.com","published_at":"2023-01-23 15:15:00","updated_at":"2023-11-07 03:57:00"},"problem_types":[],"metrics":[],"references":[{"url":"https://wpscan.com/vulnerability/286d972d-7bda-455c-a226-fd9ce5f925bd","name":"https://wpscan.com/vulnerability/286d972d-7bda-455c-a226-fd9ce5f925bd","refsource":"MISC","tags":[],"title":"Login as User or Customer < 3.3 - Unauthenticated Privilege Escalation to Admin WordPress Security Vulnerability","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4305","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4305","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"4305","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wp-buy","cpe5":"login_as_user_or_customer_\\(user_switching\\)","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-4305","ASSIGNER":"contact@wpscan.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-269 Improper Privilege Management"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Unknown","product":{"product_data":[{"product_name":"Login as User or Customer","version":{"version_data":[{"version_value":"0","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://wpscan.com/vulnerability/286d972d-7bda-455c-a226-fd9ce5f925bd","refsource":"MISC","name":"https://wpscan.com/vulnerability/286d972d-7bda-455c-a226-fd9ce5f925bd"}]},"generator":{"engine":"WPScan CVE Generator"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"David"},{"lang":"en","value":"WPScan"}]},"nvd":{"publishedDate":"2023-01-23 15:15:00","lastModifiedDate":"2023-11-07 03:57:00","problem_types":[],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:wp-buy:login_as_user_or_customer_\\(user_switching\\):*:*:*:*:*:wordpress:*:*","versionEndExcluding":"3.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}