# CVE-2022-4949: AdSanity < 1.8.2 - Authenticated Arbitrary File Upload

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.18%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-07T01:51:50.838Z
- Modified: 2026-06-17T05:22:22.797Z
- Weaknesses: CWE-434
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- https://adsanityplugin.com/ AdSanity: before 1.8.2
- adsanityplugin adsanity: before 1.8.2
- xen xen: no versions given

## Every score

- Wordfence: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://blog.nintechnet.com/critical-vulnerability-in-wordpress-adsanity-plugin/> (exploit)
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/effd72d2-876d-4f8d-b1e4-5ab38eab401b?source=cve> (third-party-advisory)
- <http://xenbits.xen.org/xsa/advisory-443.html> (patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2023/11/09/3> (mailing-list)

## Sources

- CVE List: [CVE-2022-4949](https://www.cve.org/CVERecord?id=CVE-2022-4949), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2022-4949](https://nvd.nist.gov/vuln/detail/CVE-2022-4949), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4949 · Whole record: https://cve.day/CVE-2022-4949.json · Rebuilt by cve.day 2026-11-25T22:58:19.350Z
