Rapid7

vulnerability

WordPress Plugin: adsanity: CVE-2022-4949: Unrestricted Upload of File with Dangerous Type

Severity
9
CVSS
(AV:N/AC:L/Au:S/C:C/I:C/A:C)
Published
Jan 25, 2022
Added
May 15, 2025
Modified
May 4, 2026

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.

Solution

adsanity-plugin-cve-2022-4949
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.