CVE-2026-12242AdRotate Banner Manager <= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via 'banner' Shortcode Attribute
- 8.8HighCVSS base score
- 0.86%Exploitation in 30 daysEPSS · top 41% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Wordfence
- 9 days later
· 9 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| WordfenceCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.86% · top 41% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
adegans · AdRotate Banner Manager
- affected ≤ 5.17.7
References
References11
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f29b905c-57cf-4fb8-b6af-eb0c367cd3e4?source=cve (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L265 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L276 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L276 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L288 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L288 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L265 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L276 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L288 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L265 (opens in a new tab)
- https://plugins.trac.wordpress.org/changeset/3582562/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-38758 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-12242)Record last updated .