CVE-2026-102905: Ad Inserter arbitrary shortcode execution in dynamic tags

CVE-2026-102905 · Severity: medium · CVSS 6.5 · Published 2026-10-30

The Ad Inserter plugin for WordPress allows attackers to execute arbitrary shortcodes through improperly validated dynamic tags in ad blocks. An attacker can exploit this if an administrator has configured ads with dynamic tags like {title} or {category} displayed on search pages, potentially leading to data exposure or unauthorized functionality execution on the website.

Vendors: Automattic.

Quick answers

Is CVE-2026-102905 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-102905 being exploited in the wild.
How severe is CVE-2026-102905?
Medium severity, with a CVSS score of 6.5, published 30 October 2026.
Which products and versions are affected?
Automattic Ad Inserter up to and including 2.8.19.
Is there a fix for CVE-2026-102905?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-102905 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-102905?
Check whether you run Automattic Ad Inserter at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability exists in the plugin's handling of shortcode execution within dynamic tags. When processing ad block content containing dynamic tags such as {title}, {tag}, {category}, or {smart-tag}, the plugin fails to validate values before passing them to do_shortcode(), allowing unauthenticated attackers to inject and execute arbitrary shortcodes. Exploitation requires a specific but documented plugin configuration with dynamic tags enabled on search pages.

Affected products

  • Automattic Ad Inserter up to and including 2.8.19

Timeline

  • 2026-10-30: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.