CVE-2026-12242
Deferred Deferred - Pending Action

PHP Code Injection in AdRotate Banner Manager WordPress Plugin

Vulnerability report for CVE-2026-12242, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-07-14
AI Q&A
2026-06-24
EPSS Evaluated
2026-07-13
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
adrotate banner_manager to 5.17.7 (inc)
w3_total_cache w3_total_cache *
borlabs_cache borlabs_cache *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Compliance Impact

The vulnerability allows authenticated attackers with Contributor-level access and above to execute arbitrary PHP code on the server due to insufficient input validation in the AdRotate Banner Manager plugin. This can lead to unauthorized access, data breaches, or manipulation of sensitive information.

Such unauthorized code execution and potential data compromise can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data against unauthorized access and breaches.

Executive Summary

The AdRotate Banner Manager plugin for WordPress has a vulnerability in all versions up to and including 5.17.7 that allows PHP Code Injection. This occurs through the 'banner' attribute of the adrotate shortcode because the input is not properly validated or sanitized before being concatenated into a PHP code string. This string is wrapped in W3 Total Cache mfunc or Borlabs Cache fragment markers. As a result, authenticated users with Contributor-level access or higher can execute arbitrary PHP code on the server.

This vulnerability requires that W3 Total Cache or Borlabs Cache support is enabled in the AdRotate settings.

Impact Analysis

This vulnerability can have severe impacts because it allows an authenticated attacker with Contributor-level access or above to execute arbitrary PHP code on the server. This can lead to full compromise of the affected WordPress site, including unauthorized data access, data modification, site defacement, or further attacks on the hosting environment.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12242. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart