CVE-2026-12242 (GCVE-0-2026-12242)

Vulnerability from cvelistv5 – Published: 2026-06-24 12:33 – Updated: 2026-06-24 13:05
VLAI
Title
AdRotate Banner Manager <= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via 'banner' Shortcode Attribute
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.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator (v2.0.3)
CWE
  • CWE-94 - Improper Control of Generation of Code ('Code Injection')
Assigner
Impacted products
Vendor Product Version
adegans AdRotate Banner Manager Affected: 0 , ≤ 5.17.7 (semver)
Create a notification for this product.
Credits
Osvaldo Noe Gonzalez Del Rio
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-12242",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-24T13:01:30.997655Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-24T13:05:32.102Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "AdRotate Banner Manager",
          "vendor": "adegans",
          "versions": [
            {
              "lessThanOrEqual": "5.17.7",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Osvaldo Noe Gonzalez Del Rio"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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 \u0027banner\u0027 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-94",
              "description": "CWE-94 Improper Control of Generation of Code (\u0027Code Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-24T12:33:29.448Z",
        "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "shortName": "Wordfence"
      },
      "references": [
        {
          "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f29b905c-57cf-4fb8-b6af-eb0c367cd3e4?source=cve"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L265"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L276"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L276"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L288"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L288"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L265"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L276"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L288"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L265"
        },
        {
          "url": "https://plugins.trac.wordpress.org/changeset/3582562/"
        }
      ],
      "timeline": [
        {
          "lang": "en",
          "time": "2026-06-23T00:00:00.000Z",
          "value": "Disclosed"
        }
      ],
      "title": "AdRotate Banner Manager \u003c= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via \u0027banner\u0027 Shortcode Attribute"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
    "assignerShortName": "Wordfence",
    "cveId": "CVE-2026-12242",
    "datePublished": "2026-06-24T12:33:29.448Z",
    "dateReserved": "2026-06-15T06:21:42.514Z",
    "dateUpdated": "2026-06-24T13:05:32.102Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-12242\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-24T13:01:30.997655Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-24T13:05:21.448Z\"}}], \"cna\": {\"title\": \"AdRotate Banner Manager \u003c= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via \u0027banner\u0027 Shortcode Attribute\", \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Osvaldo Noe Gonzalez Del Rio\"}], \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 8.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}}], \"affected\": [{\"vendor\": \"adegans\", \"product\": \"AdRotate Banner Manager\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.7\"}], \"defaultStatus\": \"unaffected\"}], \"timeline\": [{\"lang\": \"en\", \"time\": \"2026-06-23T00:00:00.000Z\", \"value\": \"Disclosed\"}], \"references\": [{\"url\": \"https://www.wordfence.com/threat-intel/vulnerabilities/id/f29b905c-57cf-4fb8-b6af-eb0c367cd3e4?source=cve\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L265\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L276\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L276\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L288\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L288\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L265\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L276\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L288\"}, {\"url\": \"https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L265\"}, {\"url\": \"https://plugins.trac.wordpress.org/changeset/3582562/\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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 \u0027banner\u0027 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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-94\", \"description\": \"CWE-94 Improper Control of Generation of Code (\u0027Code Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"b15e7b5b-3da4-40ae-a43c-f7aa60e62599\", \"shortName\": \"Wordfence\", \"dateUpdated\": \"2026-06-24T12:33:29.448Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-12242\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-06-24T13:05:32.102Z\", \"dateReserved\": \"2026-06-15T06:21:42.514Z\", \"assignerOrgId\": \"b15e7b5b-3da4-40ae-a43c-f7aa60e62599\", \"datePublished\": \"2026-06-24T12:33:29.448Z\", \"assignerShortName\": \"Wordfence\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…