{"api_version":"1","generated_at":"2026-07-23T10:05:47+00:00","cve":"CVE-2022-4060","urls":{"html":"https://cve.report/CVE-2022-4060","api":"https://cve.report/api/cve/CVE-2022-4060.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-4060","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4060"},"summary":{"title":"CVE-2022-4060","description":"The User Post Gallery WordPress plugin through 2.19 does not limit what callback functions can be called by users, making it possible to any visitors to run code on sites running it.","state":"PUBLIC","assigner":"contact@wpscan.com","published_at":"2023-01-16 16:15:00","updated_at":"2023-11-07 03:56:00"},"problem_types":[],"metrics":[],"references":[{"url":"https://wpscan.com/vulnerability/8f982ebd-6fc5-452d-8280-42e027d01b1e","name":"https://wpscan.com/vulnerability/8f982ebd-6fc5-452d-8280-42e027d01b1e","refsource":"MISC","tags":[],"title":"User Post Gallery <= 2.19 - Unauthenticated RCE WordPress Security Vulnerability","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4060","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4060","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"4060","vulnerable":"1","versionEndIncluding":"2.19","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"odude","cpe5":"user_post_gallery","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-4060","ASSIGNER":"contact@wpscan.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"The User Post Gallery WordPress plugin through 2.19 does not limit what callback functions can be called by users, making it possible to any visitors to run code on sites running it."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Unknown","product":{"product_data":[{"product_name":"User Post Gallery","version":{"version_data":[{"version_value":"0","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://wpscan.com/vulnerability/8f982ebd-6fc5-452d-8280-42e027d01b1e","refsource":"MISC","name":"https://wpscan.com/vulnerability/8f982ebd-6fc5-452d-8280-42e027d01b1e"}]},"generator":{"engine":"WPScan CVE Generator"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"cydave"},{"lang":"en","value":"WPScan"}]},"nvd":{"publishedDate":"2023-01-16 16:15:00","lastModifiedDate":"2023-11-07 03:56: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:odude:user_post_gallery:*:*:*:*:*:wordpress:*:*","versionEndIncluding":"2.19","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}