{"id":"CVE-2022-0661","published":"2022-04-18T17:10:28Z","modified":"2024-08-02T23:32:46Z","title":"Ad Injection <= 1.2.0.19 - Admin+ Stored Cross-Site Scripting & RCE","vendor":null,"product":"Ad Injection","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.40237,"percentile":0.98671,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://wpscan.com/vulnerability/3c5a7b03-d4c3-46b9-af65-fb50e58b0bfd","tags":["x_refsource_MISC"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":19.73}]},"affectedVersions":[{"vendor":"Unknown","product":"Ad Injection","versions":[">= 1.2.0.19, <= 1.2.0.19"]}],"summary":{"text":"The Ad Injection WordPress plugin, through version 1.2.0.19, fails to properly sanitise the body of adverts it injects into pages, so the advert content is not safely handled. An attacker who holds an Admin-or-higher WordPress account can use this to store arbitrary HTML, JavaScript or PHP code, which can lead to stored cross-site scripting and remote code execution even when unfiltered_html is disallowed and the DISALLOW_FILE_EDIT and DISALLOW_FILE_MOD constants are set.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:13Z"},"euvd":{"id":"EUVD-2022-15753","exploited":false,"provenance":"source"}}