CVE-2022-0661: The Ad Injection WordPress plugin through 1.2.0.19 does not properly sanitize the body of the adverts injected
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 score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 40.2% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2022-04-18 |
| 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-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