CVE-2022-4949
AdSanity < 1.8.2 - Authenticated Arbitrary File Upload
Reported by wordfence · Published June 7, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| adsanity | adsanityplugin | 1.8.2 |
| AdSanity | https://adsanityplugin.com/ | 1.8.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| https://adsanityplugin.com/ | AdSanity | 0 |
| https://adsanityplugin.com/ | AdSanity | 0 |
Timeline
- Jun 7, 2023 EPSS Score (30 in total, the first dated here)
- Jun 7, 2023 CVE Published
- Oct 27, 2025 CVE Updated
- Mar 21, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 21, 2026 Security Advisory (12 in total, the first dated here)
- May 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-4949
vulnetix vdb fixes CVE-2022-4949
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-4949/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart