{"id":"CVE-2022-4949","state":"PUBLISHED","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.","publishedAt":"2023-06-07T01:51:50.838Z","updatedAt":"2026-04-08T17:32:08.418Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Wordfence"},"assigner":"Wordfence","products":["https://adsanityplugin.com/ AdSanity"],"affected":[{"vendor":"https://adsanityplugin.com/","product":"AdSanity","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.8.2","versionType":"semver"}]}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/effd72d2-876d-4f8d-b1e4-5ab38eab401b?source=cve","https://blog.nintechnet.com/critical-vulnerability-in-wordpress-adsanity-plugin/","http://xenbits.xen.org/xsa/advisory-443.html","http://www.openwall.com/lists/oss-security/2023/11/09/3"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/4xxx/CVE-2022-4949.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-4949","state":"PUBLISHED","datePublished":"2023-06-07T01:51:50.838Z","dateUpdated":"2026-04-08T17:32:08.418Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2023-06-06T13:38:43.158Z"},"containers":{"cna":{"title":"AdSanity < 1.8.2 - Authenticated Arbitrary File Upload","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"https://adsanityplugin.com/","product":"AdSanity","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.8.2","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/effd72d2-876d-4f8d-b1e4-5ab38eab401b?source=cve"},{"url":"https://blog.nintechnet.com/critical-vulnerability-in-wordpress-adsanity-plugin/"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T17:32:08.418Z"},"credits":[{"lang":"en","type":"finder","value":"Jerome Bruandet"}],"timeline":[{"time":"2022-01-25T00:00:00.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/effd72d2-876d-4f8d-b1e4-5ab38eab401b?source=cve","tags":["x_transferred"]},{"url":"https://blog.nintechnet.com/critical-vulnerability-in-wordpress-adsanity-plugin/","tags":["x_transferred"]},{"url":"http://xenbits.xen.org/xsa/advisory-443.html","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/11/09/3","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T01:55:46.127Z"}}]}}}