{"id":"CVE-2022-0661","aliases":["CVE-2022-0661"],"related":[],"kind":"vulnerability","state":"published","title":"Ad Injection <= 1.2.0.19 - Admin+ Stored Cross-Site Scripting & RCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El plugin Ad Injection de WordPress versiones hasta 1.2.0.19, no sanea correctamente el cuerpo de los anuncios inyectados en las páginas, lo que permite a un usuario con altos privilegios (Admin+) inyectar HTML o javascript arbitrario incluso con unfiltered_html deshabilitado, conllevando a una vulnerabilidad de tipo Cross-Site Scripting (XSS) almacenada. Además, también es posible inyectar código PHP, conllevando a una vulnerabilidad de ejecución de código remota (RCE), incluso si las constantes DISALLOW_FILE_EDIT y DISALLOW_FILE_MOD están establecidas","source":"nvd"}],"published":"2022-04-18T17:10:28.000Z","modified":"2026-06-17T04:21:01.327Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"1.2.0.19","lastAffected":"1.2.0.19","status":"affected"}],"vendor":"Unknown","product":"Ad Injection","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.2.0.19"}],"vendor":"ad_injection_project","product":"ad_injection","cpe":"cpe:2.3:a:ad_injection_project:ad_injection:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/3c5a7b03-d4c3-46b9-af65-fb50e58b0bfd","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Asif Nawaz Minhas"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0661","url":"https://www.cve.org/CVERecord?id=CVE-2022-0661","licence":"CVE Terms of Use","modified":"2024-08-02T23:32:46.540Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0661","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0661","licence":"Public domain","modified":"2026-06-17T04:21:01.327Z"}],"updatedAt":"2026-11-25T22:58:10.804Z","epss":{"score":0.40237,"percentile":0.98665,"date":"2026-12-01T12:00:22.000Z"}}