# CVE-2022-0661: Ad Injection <= 1.2.0.19 - Admin+ Stored Cross-Site Scripting & RCE

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/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): 40.2%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-18T17:10:28.000Z
- Modified: 2026-06-17T04:21:01.327Z
- Weaknesses: CWE-94
- Assigned by: WPScan

## Description

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 DISALLOW_FILE_MOD constants are both set.

(As written by CVE List.)

## Affected

- Unknown Ad Injection: from 1.2.0.19 up to 1.2.0.19
- ad_injection_project ad_injection: up to 1.2.0.19

## Every score

- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/3c5a7b03-d4c3-46b9-af65-fb50e58b0bfd> (exploit, third-party-advisory)

## Sources

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

---

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