Stored cross-site scripting in Ad Inserter WordPress plugin
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Ad Inserter plugin for WordPress by spacetime is affected in all versions through 2.8.20. Insufficient input sanitization and output escaping (CWE-79) let stored scripts persist in Global Custom Fields image fields. An authenticated attacker with subscriber-level access or higher can run scripts in the browsers of users who open an injected page, once an administrator enables a Global Custom Fields page with a lowered access setting and an image field.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ai-global-field-<N>' parameter in all versions up to, and including, 2.8.20 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires that a site administrator has enabled a Global Custom Fields page, lowered its Access setting to the attacker's role, and configured at least one field of type Image bound to that page.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for Ad Inserter.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Timeline
- 2026-12-02 Threatist record created from CVE-2026-120034
- 2026-12-02 Alias added: GHSA-hm7w-j97c-2mcg
References
Other 10
- https://www.wordfence.com/threat-intel/vulnerabilities/id/661e1e08-cd3c-43a8-a282-5bccbd229af9?source=cve
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/class.php#L11273
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/class.php#L12704
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/class.php#L11683
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/class.php#L11684
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L8874
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L8872
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L8902
- https://plugins.trac.wordpress.org/browser/ad-inserter/
- https://plugins.trac.wordpress.org/changeset/3831070/ad-inserter/trunk/ad-inserter.php
More spacetime vulnerabilities
- TI-2026-83232 Unauthenticated shortcode execution in Ad Inserter WordPress plugin CVSS 3.1MEDIUM 6.5
- TI-2026-83300 Cross-site scripting in WordPress Ad Inserter plugin CVSS 3.1HIGH 7.1
- TI-2026-63944 WordPress Ad Inserter plugin <= 2.8.18 - Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
- TI-2024-32841 WordPress Ad Inserter plugin <= 2.7.37 - Reflected Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
- TI-2026-10327 Missing authorization in spacetime Ad Inserter – Ad Manager & AdSense Ads CVSS 3.1MEDIUM 5.3
- TI-2026-10326 Ad Inserter <= 2.8.16 - Missing Authorization to Block Visibility Bypass via ai_ajax CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-120034 · CVE Program
- CVE-2026-120034 · NVD
- GHSA-hm7w-j97c-2mcg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences