{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-4949","id":"CVE-2022-4949","title":"AdSanity < 1.8.2 - Authenticated Arbitrary File Upload","description":"The AdSanity plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'ajax_upload' function in versions up to, and including, 1.8.1. This makes it possible for authenticated attackers with Contributor+ level privileges to upload arbitrary files on the affected sites server which makes remote code execution possible.","descriptionLong":"The AdSanity plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'ajax_upload' function in versions up to, and including, 1.8.1. This makes it possible for authenticated attackers with Contributor+ level privileges to upload arbitrary files on the affected sites server which makes remote code execution possible.","published":"2023-06-07T01:51:50.838Z","updated":"2026-06-17T05:22:22.797Z","reserved":"2023-06-06T13:38:43.158Z","status":"Modified","rejected":false,"assigner":"Wordfence","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Wordfence"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Wordfence"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"wordfence.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["https://adsanityplugin.com/ AdSanity"],"affectedProducts":[{"vendor":"https://adsanityplugin.com/","product":"AdSanity","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.8.2","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-434"],"aliases":[],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/effd72d2-876d-4f8d-b1e4-5ab38eab401b?source=cve","tags":["x_transferred","Third Party Advisory"]},{"url":"https://blog.nintechnet.com/critical-vulnerability-in-wordpress-adsanity-plugin/","tags":["x_transferred","Exploit"]},{"url":"http://xenbits.xen.org/xsa/advisory-443.html","tags":["x_transferred","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/11/09/3","tags":["x_transferred","Mailing List"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02178,"epssPercentile":0.827,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-4949","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4949","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-4949","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-4949","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}