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.
History

Wed, 08 Apr 2026 18:30:00 +0000

Type Values Removed Values Added
Title AdSanity < 1.8.2 - Authenticated Arbitrary File Upload

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:32:08.418Z

Reserved: 2023-06-06T13:38:43.158Z

Link: CVE-2022-4949

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-06-07T02:15:15.750

Modified: 2026-04-08T19:17:58.420

Link: CVE-2022-4949

cve-icon Redhat

No data.