CVE-2022-4949: The AdSanity plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation
CVE-2022-4949 is a high-severity flaw (CVSS 8.8) affecting adsanity, xen. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 2.2% (top 18%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2023-06-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-4949?
adsanity: upgrade to 1.8.2; xen: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-4949 being exploited?
CVE-2022-4949 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-4949 affect?
CVE-2022-4949 affects adsanity, xen. Severity is high (CVSS 8.8). 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 Con
How urgent is CVE-2022-4949?
Priority 56/100. High severity; Public exploit reference
Software pages
WordPress vulnerabilities · Xen vulnerabilities