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.