CVE-2026-12242
AdRotate Banner Manager <= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via 'banner' Shortcode Attribute
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
The AdRotate Banner Manager plugin for WordPress is vulnerable to PHP Code Injection in all versions up to, and including, 5.17.7 via the 'banner' attribute of the adrotate shortcode. This is due to insufficient input validation and sanitization of the banner shortcode attribute before concatenation into a PHP code string wrapped in W3 Total Cache mfunc or Borlabs Cache fragment markers. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute arbitrary PHP code on the server. This vulnerability requires W3 Total Cache or Borlabs Cache support to be enabled in AdRotate settings.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- adegans AdRotate Banner Manager
through 5.17.7
References 11
plugins.trac.wordpress.org
- browser/adrotate/trunk/adrotate-output.php#L265
- browser/adrotate/trunk/adrotate-output.php#L276
- browser/adrotate/tags/5.17.5/adrotate-output.php#L276
- browser/adrotate/trunk/adrotate-output.php#L288
- browser/adrotate/tags/5.17.5/adrotate-output.php#L288
- browser/adrotate/tags/5.17.5/adrotate-output.php#L265
- browser/adrotate/tags/5.17.4/adrotate-output.php#L276
- browser/adrotate/tags/5.17.4/adrotate-output.php#L288
- browser/adrotate/tags/5.17.4/adrotate-output.php#L265
- changeset/3582562