CVE-2026-12242
HIGHCVSS v3.1: 8.8 · EPSS: 0.0047 (37.0 percentile)
Source data as of:
At a glance
- Severity
- HIGH
- CVSS
- 8.8 v3.1 · NVD
- EPSS
- 0.0047 (37.0 percentile) · FIRST.org
- CISA KEV
- No
- Type
- Code Injection · NVD CWE
- Attack conditions (CVSS vector)
- NetworkNo user interaction · Source: NVD Vector
- Published
- 2026-06-24 · Modified: 2026-06-25
- References
- Jump to references (8)
CVSS / EPSS / KEV
Source — CVSS: NVD · EPSS: FIRST.org · KEV: CISA. Data & Sources
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.
References
Reference URLs as listed by NVD, grouped by a mechanical match on the link's host/pattern. Labels describe the link type only.
- Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L265
- Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L276
- Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L288
- Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L265
- Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L276
- Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L288
- Reference https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L265
- Reference https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L276