Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-0661: The Ad Injection WordPress plugin through 1.2.0.19 does not properly sanitize the body of the adverts injected

55
This week
HIGH 7.2UPGRADE

CVE-2022-0661 is a high-severity flaw (CVSS 7.2) affecting ad injection. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The Ad Injection WordPress plugin through 1.2.0.19 does not properly sanitize the body of the adverts injected into the pages, allowing a high privileged user (Admin+) to inject arbitrary HTML or javascript even with unfiltered_html disallowed, leading to a stored cross-site scripting (XSS) vulnerability. Further it is also possible to inject PHP code, leading to a Remote Code execution (RCE) vulnerability, even if the DISALLOW_FILE_EDIT and DISA

Why this priority

  • High severity
  • EPSS top 1%: very likely to be exploited
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score7.2 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededHigh
User interactionNone
EPSS exploit chance40.2% (top 1%)
CISA exploited listNo
WeaknessCWE-94
Published2022-04-18
Last modified2026-06-17
Publisher (CNA): WPScan · Vendor: ad injection project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ad injection project ad injection UPGRADE
Affected: <= 1.2.0.19
Fixed in: newer than 1.2.0.19
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ad-injection || rpm -q ad-injection || ad-injection --version
2. UPGRADE to newer than 1.2.0.19 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ad-injection
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ad-injection
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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-0661?

ad injection: upgrade to newer than 1.2.0.19. Exact commands for each OS are on this page.

Is CVE-2022-0661 being exploited?

CVE-2022-0661 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-0661 affect?

CVE-2022-0661 affects ad injection. Severity is high (CVSS 7.2). The Ad Injection WordPress plugin through 1.2.0.19 does not properly sanitize the body of the adverts injected into the pages, allowing a high privileged user (Admin+) to inject arbitrary HTML or javascript even with unfiltered_html disallo

How urgent is CVE-2022-0661?

Priority 55/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference

Software pages

WordPress vulnerabilities · PHP vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.