BreachSpiderVerified, not vibes

CVE-2022-4949 in Adsanityplugin Adsanity and 1 more product

High 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 Contributor+ level privileges to upload arbitrary files on the affected sites se...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.18.8
EPSS1.9%
EPSS percentile81th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Adsanityplugin Adsanity < 1.8.2
Xen Xen No version listed by the source

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-4949
BreachSpider IDBS-2023-GLOBAL-340074-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2023-06-07
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-434: Unrestricted Upload of File with Dangerous Type

Application allows file uploads without validating type, enabling upload of executable code or web shells.

Related attack patterns (CAPEC)

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

The AdSanity plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation, allowing authenticated attackers with Contributor+ level privileges to upload malicious files and potentially achieve remote code execution.

The vulnerability exists in the 'ajax_upload' function of the AdSanity plugin, versions up to and including 1.8.1. Attackers can exploit this by uploading a malicious file, which can then be executed on the server, leading to remote code execution.

Questions

What is CVE-2022-4949?

The AdSanity plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation, allowing authenticated attackers with Contributor+ level privileges to upload malicious files and potentially achieve remote code execution.

What is the CVSS score for CVE-2022-4949?

CVE-2022-4949 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.9%.

Is CVE-2022-4949 actively exploited?

No confirmed active exploitation of CVE-2022-4949 as of 2026-09-25.

How do I remediate CVE-2022-4949?

Priority: IMMEDIATE.

What systems are affected by CVE-2022-4949?

CVE-2022-4949 affects Adsanityplugin Adsanity; Xen Xen.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Adsanityplugin","product":"Adsanity","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.