CVE-2026-12242
AdRotate Banner Manager <= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via 'banner' Shortcode Attribute
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.49%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 43.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 24 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-94 Improper Control of Generation of Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| AdRotate Banner Manager |
affected up to and including 5.17.7
Other versions: unaffected
|
Is my server affected?
This CVE is in AdRotate Banner Manager of adegans, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f29b905c-57cf-4fb8-b6af-eb0c367cd3e4?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L265 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L276 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L276 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L288 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L288 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L265 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L276 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L288 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L265 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset/3582562/ plugins.trac.wordpress.org
Source: the record CVE-2026-12242 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse