VDB

CVE-2022-4949

CVE-2022-4949 PUBLISHED CVSS 8.8 HIGH

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.

PackageEcosystemFixed in
adsanityadsanityplugin1.8.2
AdSanityhttps://adsanityplugin.com/1.8.2

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
https://adsanityplugin.com/AdSanity0
https://adsanityplugin.com/AdSanity0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›