Plugins · ad-inserter · data as of 2026-11-01
Is Ad Inserter safe? Known vulnerabilities and latest version
- Latest version
- 2.8.20
- Last updated
- 2026-10-28
- Active installs
- 300,000+
- Known issues on record
- 25
- Unpatched in latest
- 0
- Tested up to WP
- 7.2 · PHP 7.4+
Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer code, PHP code, global custom fields — by Spacetime
What to do
- Update to the latest version (2.8.20). Anything older than 2.8.20 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get ad-inserter --field=version shows what you run; wp plugin update ad-inserter updates it.
Check your version
Known vulnerabilities
25 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
high 7.1 CVE-2026-105077 · published 2026-10-30
Cross-site scripting (XSS) in Ad Inserter (2.8.19 and older)
- Affected
- 2.8.19 and older
- Fixed in
- 2.8.20
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Unauthenticated Cross Site Scripting (XSS) in Ad Inserter <= 2.8.19 versions.
medium 6.5 CVE-2026-102905 · published 2026-10-30
Remote code execution in Ad Inserter (2.8.19 and older)
- Affected
- 2.8.19 and older
- Fixed in
- 2.8.20 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.8.19 This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes. Exploitation requires an administrator to have configured an ad block containing a dynamic tag such as {title}, {tag}, {category}, or {smart-tag} with display enabled on search pages, which is a normal and documented plugin configuration.
NVD CVE-2026-102905Wordfence advisoryCode change (fix)Plugin source
medium 6.5 CVE-2026-118094 · published 2026-10-29
Stored cross-site scripting (XSS) in Ad Inserter (2.8.18 and older)
- Affected
- 2.8.18 and older
- Fixed in
- 2.8.19
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Igor Funa Ad Inserter ad-inserter allows Stored XSS.This issue affects Ad Inserter: from n/a through 2.8.18.
medium 6.5 CVE-2026-114709 · published 2026-10-26
Reflected cross-site scripting (XSS) in Ad Inserter (2.8.18 and older)
- Affected
- 2.8.18 and older
- Fixed in
- 2.8.19
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Igor Funa Ad Inserter ad-inserter allows Reflected XSS.This issue affects Ad Inserter: from n/a through 2.8.18.
medium 6.5 CVE-2026-114194 · published 2026-10-24
Reflected cross-site scripting (XSS) in Ad Inserter (2.8.18 and older)
- Affected
- 2.8.18 and older
- Fixed in
- 2.8.19
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Igor Funa Ad Inserter ad-inserter allows Reflected XSS.This issue affects Ad Inserter: from n/a through 2.8.18.
medium 4.3 CVE-2026-89097 · published 2026-10-13
Information disclosure in Ad Inserter (2.8.18 and older)
- Affected
- 2.8.18 and older
- Fixed in
- 2.8.19 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.8.18 via the ai_wp_footer_hook. This makes it possible for authenticated attackers, with subscriber-level access and above, to extract sensitive data including the server's internal IP address, PHP configuration, WordPress and theme versions, hardening constants, the plugin's full block matrix, and all post meta values including underscore-prefixed protected keys such as API tokens and private integration state written by other plugins.
NVD CVE-2026-89097Wordfence advisoryCode change (fix)Plugin source
medium 6.5 CVE-2026-107864 · published 2026-10-12
Stored cross-site scripting (XSS) in Ad Inserter (2.8.18 and older)
- Affected
- 2.8.18 and older
- Fixed in
- 2.8.19
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Igor Funa Ad Inserter ad-inserter allows Stored XSS.This issue affects Ad Inserter: from n/a through 2.8.18.
medium 6.1 CVE-2026-89427 · published 2026-10-01
Reflected cross-site scripting (XSS) in Ad Inserter (2.8.18 and older)
- Affected
- 2.8.18 and older
- Fixed in
- 2.8.19 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via 's' Search Parameter in all versions up to, and including, 2.8.18 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that a site administrator has configured at least one Ad Inserter block using the {title} or {short-title} placeholder with that block enabled for search pages, which is a standard, documented plugin feature.
NVD CVE-2026-89427Wordfence advisoryCode change (fix)Plugin source
medium 6.1 CVE-2026-19902 · published 2026-10-01
Reflected cross-site scripting (XSS) in Ad Inserter (2.8.18 and older)
- Affected
- 2.8.18 and older
- Fixed in
- 2.8.19 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the Referer header in all versions up to, and including, 2.8.18 due to insufficient input sanitization and output escaping on the '{search-query}' dynamic tag. When an ad block's code contains that tag, replace_ai_tags() reads $_SERVER['HTTP_REFERER'] and tests it with the regex /[\.\/](google|yahoo|bing|ask)\.[a-z\.]{2,5}[\/]/i. The leading [\.\/] class matches a literal slash, so any referrer merely containing a segment such as '/google.com/' passes as a search-engine referral; the plugin then percent-decodes the referring query with parse_str() and substitutes the resulting 'q' (or 'p') value into the block via preg_replace() with no escaping. This makes it possible for unauthenticated attackers to execute arbitrary JavaScript in the context of the site for any visitor, including a signed-in administrator, by luring them to an attacker-controlled page that frames or links to any ordinary post. Exploitation requires the site to have an ad block whose code uses the '{search-query}' tag with automatic insertion enabled — a documented plugin feature used as intended.
NVD CVE-2026-19902Wordfence advisoryCode change (fix)Plugin source
high 7.1 CVE-2026-97077 · published 2026-09-30
Cross-site scripting (XSS) in Ad Inserter (2.8.18 and older)
- Affected
- 2.8.18 and older
- Fixed in
- 2.8.19
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Unauthenticated Cross Site Scripting (XSS) in Ad Inserter <= 2.8.18 versions.
high 7.5 CVE-2026-81655 · published 2026-09-27
Remote code execution in Ad Inserter (2.8.12 up to (not including) 2.8.19)
- Affected
- 2.8.12 up to (not including) 2.8.19
- Fixed in
- 2.8.19
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory
The Ad Inserter WordPress plugin before 2.8.19 does not correctly restrict access to one of its settings pages, making it reachable by every logged in user under a configuration its own settings allow, and does not filter the content saved there, allowing users with a role as low as subscriber to store code which is then executed as PHP or served unescaped to site visitors.
medium 5.3 CVE-2026-11984 · published 2026-09-16
Missing authorization check in Ad Inserter (2.8.16 and older)
- Affected
- 2.8.16 and older
- Fixed in
- 2.8.17 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 2.8.16 due to a missing capability check on the `ai-debug-code` URL-parameter. This makes it possible for unauthenticated attackers to view administrator-configured header and footer code blocks that have been disabled from public display.
medium 5.3 CVE-2026-11983 · published 2026-08-06
Missing authorization check in Ad Inserter (2.8.16 and older)
- Affected
- 2.8.16 and older
- Fixed in
- 2.8.17 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 2.8.16 due to a missing capability check in the `ai_ajax` function. This makes it possible for unauthenticated attackers to view the contents of ad blocks that an administrator has restricted to administrator-only visibility.
medium 6.5 CVE-2026-57693 · published 2026-07-13
Cross-site scripting (XSS) in Ad Inserter (2.8.11 and older)
- Affected
- 2.8.11 and older
- Fixed in
- 2.8.12
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Spacetime Ad Inserter ad-inserter allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Ad Inserter: from n/a through <= 2.8.11.
medium 4.3 CVE-2026-11900 · published 2026-07-03
Missing authorization check in Ad Inserter (2.8.16 and older)
- Affected
- 2.8.16 and older
- Fixed in
- 2.8.17 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to and including 2.8.16 via the 'data' attribute of the [adinserter] shortcode. This is due to the replace_ai_tags() function processing a {reusable-block-N} tag pattern that calls get_post_field('post_content', N) without verifying the requesting user's capability with current_user_can('read_post'), without restricting the post type to 'wp_block', and without checking the post status. This makes it possible for authenticated attackers, with Contributor-level access and above, to read the full content of arbitrary posts including Private, Draft, Pending, Trashed, and password-protected posts owned by other users, by placing the shortcode in a post they own and previewing it.
NVD CVE-2026-11900Wordfence advisoryCode change (fix)Plugin source
medium 6.1 CVE-2026-9280 · published 2026-06-06
Reflected cross-site scripting (XSS) in Ad Inserter (2.8.15 and older)
- Affected
- 2.8.15 and older
- Fixed in
- 2.8.16 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via URL Parameters in iframe Mode in all versions up to, and including, 2.8.15 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that iframe mode (AI_OPTION_IFRAME) is enabled on at least one ad block displayed on the targeted page, which is a non-default but supported configuration commonly used for AdSense and JavaScript-based ads.
NVD CVE-2026-9280Wordfence advisoryCode change (fix)Plugin source
medium 6.4 CVE-2025-11745 · published 2025-11-05
Stored cross-site scripting (XSS) in Ad Inserter (2.8.7 and older)
- Affected
- 2.8.7 and older
- Fixed in
- 2.8.8 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom field through the plugin's 'adinserter' shortcode in all versions up to, and including, 2.8.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
high 7.1 CVE-2024-49248 · published 2024-10-17
Reflected cross-site scripting (XSS) in Ad Inserter (2.7.37 and older)
- Affected
- 2.7.37 and older
- Fixed in
- 2.7.38
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Spacetime Ad Inserter ad-inserter allows Reflected XSS.This issue affects Ad Inserter: from n/a through <= 2.7.37.
high 7.5 CVE-2023-4668 · published 2023-10-20
Information disclosure in Ad Inserter (2.7.30 and older)
- Affected
- 2.7.30 and older
- Fixed in
- 2.8.6 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
The Ad Inserter for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 2.7.30 via the ai-debug-processing-fe URL parameter. This can allow unauthenticated attackers to extract sensitive data including installed plugins (present and active), active theme, various plugin settings, WordPress version, as well as some server settings such as memory limit, installation paths.
medium 5.3 CVE-2023-4645 · published 2023-10-19
Information disclosure in Ad Inserter (2.7.30 and older)
- Affected
- 2.7.30 and older
- Fixed in
- 2.8.6 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
The Ad Inserter for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 2.7.30 via the ai_ajax function. This can allow unauthenticated attackers to extract sensitive data such as post titles and slugs (including those of protected posts along with their passwords), usernames, available roles, the plugin license key provided the remote debugging option is enabled. In the default state it is disabled.
NVD CVE-2023-4645Wordfence advisoryCode change (fix)Plugin source
high 7.2 CVE-2023-1549 · published 2023-05-15
PHP object injection in Ad Inserter (older than 2.7.27)
- Affected
- older than 2.7.27
- Fixed in
- 2.7.27
- Access needed (per CVSS)
- Needs an admin-level account
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
The Ad Inserter WordPress plugin before 2.7.27 unserializes user input provided via the settings, which could allow high privilege users such as admin to perform PHP Object Injection when a suitable gadget is present
medium 6.1 CVE-2022-0901 · published 2022-04-04
Reflected cross-site scripting (XSS) in Ad Inserter (older than 2.7.12)
- Affected
- older than 2.7.12
- Fixed in
- 2.7.12
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- NVD analysis · score by NVD
Details from the advisory
The Ad Inserter Free and Pro WordPress plugins before 2.7.12 do not sanitise and escape the REQUEST_URI before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting in browsers which do not encode characters
medium 6.1 CVE-2022-0288 · published 2022-02-21
Reflected cross-site scripting (XSS) in Ad Inserter (older than 2.7.10)
- Affected
- older than 2.7.10
- Fixed in
- 2.7.10
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- NVD analysis · score by NVD
Details from the advisory
The Ad Inserter WordPress plugin before 2.7.10, Ad Inserter Pro WordPress plugin before 2.7.10 do not sanitise and escape the html_element_selection parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting
high 7.5 CVE-2019-15323 · published 2019-08-22
Path traversal / file read in Ad Inserter (older than 2.4.20)
- Affected
- older than 2.4.20
- Fixed in
- 2.4.20
- Access needed (per CVSS)
- No login needed
- Range from
- NVD analysis · score by NVD
Details from the advisory
The ad-inserter plugin before 2.4.20 for WordPress has path traversal.
high 8.8 CVE-2019-15324 · published 2019-08-22
Remote code execution in Ad Inserter (older than 2.4.22)
- Affected
- older than 2.4.22
- Fixed in
- 2.4.22
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- NVD analysis · score by NVD
Details from the advisory
The ad-inserter plugin before 2.4.22 for WordPress has remote code execution.
Recent activity
- 2026-10-28 — latest release on wordpress.org (2.8.20).
- 2026-10-30 — Cross-site scripting (XSS) disclosed (CVE-2026-105077), fixed in 2.8.20.
- 2026-10-30 — Remote code execution disclosed (CVE-2026-102905), fixed in 2.8.20.
- 2026-10-29 — Stored cross-site scripting (XSS) disclosed (CVE-2026-118094), fixed in 2.8.19.
Get an email when Ad Inserter has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for Ad Inserter (ad-inserter) is published or a fix ships. Unsubscribe in one click.
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/ad-inserter (Plugins API), fetched 2026-11-01.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-01. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/ad-inserter"><img src="https://laskyr.com/plugins/ad-inserter/badge.svg" alt="Ad Inserter vulnerability status"></a>