Skip to main content
Vulnerability Database/CVE-2024-11975

CVE-2024-11975: Reactflow WordPress Plugin XSS Vulnerability

CVE-2024-11975 is a reflected cross-site scripting vulnerability in the Reactflow Visitor Recording and Heatmaps WordPress plugin. Attackers can inject malicious scripts via the _wpnonce parameter. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-11975 Overview

CVE-2024-11975 is a Reflected Cross-Site Scripting (XSS) vulnerability [CWE-79] in the Reactflow Visitor Recording and Heatmaps plugin for WordPress. The flaw affects all versions up to and including 1.0.10. It stems from insufficient input sanitization and output escaping applied to the _wpnonce parameter. Unauthenticated attackers can inject arbitrary web scripts that execute in a victim's browser when the victim is tricked into clicking a crafted link. Successful exploitation enables session data theft, unauthorized administrative actions, and content manipulation within the WordPress admin context.

Critical Impact

Unauthenticated attackers can execute arbitrary JavaScript in the browsers of authenticated WordPress users via a crafted link, enabling account takeover and administrative action abuse.

Affected Products

  • Reactflow Visitor Recording and Heatmaps plugin for WordPress
  • All versions up to and including 1.0.10
  • WordPress installations with the Reactflow session replay and heatmap plugin activated

Discovery Timeline

  • 2024-12-21 - CVE-2024-11975 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-11975

Vulnerability Analysis

The vulnerability is a Reflected XSS issue affecting the Reactflow plugin's handling of the _wpnonce request parameter. The plugin reflects the parameter value into rendered HTML output without applying sufficient sanitization or escaping. When a victim follows a crafted URL, attacker-controlled JavaScript executes in the victim's browser under the origin of the WordPress site.

Because exploitation requires user interaction, the attack typically relies on phishing, malicious links embedded in comments, or link-based social engineering. Once executed, the injected script inherits the victim's browser session, enabling actions such as cookie theft, cross-site request forgery against admin endpoints, and DOM manipulation.

Root Cause

The root cause is missing output escaping on a reflected input. The _wpnonce parameter, normally a WordPress nonce token, is not validated as a well-formed nonce or sanitized before being rendered back into the response. WordPress provides functions such as esc_attr(), esc_html(), and wp_kses() for this purpose, but the plugin fails to invoke them on this specific input path. Referenced source location: Reactflow plugin source line 882.

Attack Vector

Exploitation occurs over the network and requires no authentication. An attacker crafts a URL to a vulnerable WordPress page and appends a malicious payload to the _wpnonce query parameter. The attacker distributes the URL through email, chat, comments, or social platforms. When a logged-in user, particularly an administrator, opens the link, the payload executes within the WordPress origin.

// Example exploitation pattern (conceptual, no verified PoC published)
// The plugin reflects the _wpnonce value into HTML without escaping.
// See vendor source for the vulnerable line:
// https://plugins.trac.wordpress.org/browser/reactflow-session-replay-heatmap/tags/1.0.10/reactflow.php#L882

Detection Methods for CVE-2024-11975

Indicators of Compromise

  • HTTP requests to WordPress endpoints containing _wpnonce parameter values that include HTML tags, JavaScript event handlers (onerror, onload), or <script> fragments.
  • Web server access logs showing unusually long or URL-encoded _wpnonce values inconsistent with legitimate 10-character WordPress nonces.
  • Referrer headers from external phishing domains preceding admin session anomalies.
  • Unexpected outbound requests from admin browser sessions to attacker-controlled domains.

Detection Strategies

  • Inspect web application firewall (WAF) and reverse proxy logs for reflected XSS patterns in the _wpnonce query parameter targeting Reactflow plugin URLs.
  • Deploy signature-based rules that flag script tags, javascript: URIs, and HTML event handlers in query string values.
  • Correlate admin user activity anomalies with recent inbound clicks on external links referencing plugin endpoints.

Monitoring Recommendations

  • Ingest WordPress and web server access logs into a centralized log analytics or SIEM platform for query-string inspection.
  • Alert on any request to Reactflow plugin URLs where _wpnonce does not match the expected 10-character alphanumeric nonce format.
  • Monitor for creation of new administrator accounts, plugin installations, or content changes following suspicious inbound link activity.

How to Mitigate CVE-2024-11975

Immediate Actions Required

  • Update the Reactflow Visitor Recording and Heatmaps plugin to a version later than 1.0.10 once a patched release is available from the vendor.
  • If no fixed version is available, deactivate and remove the plugin until a patch is published.
  • Review WordPress user accounts for unauthorized changes, new administrators, or unexpected plugin installations.
  • Rotate WordPress administrator passwords and invalidate active sessions if suspicious link activity is observed.

Patch Information

Review the vendor changeset for the plugin at the WordPress plugin changeset page and the Reactflow developer information page. The Wordfence vulnerability report provides additional advisory details.

Workarounds

  • Deploy a WAF rule that blocks or sanitizes requests containing HTML tags or JavaScript in the _wpnonce parameter.
  • Enforce a strict Content Security Policy (CSP) that disallows inline script execution, reducing XSS payload impact.
  • Train administrators to avoid clicking untrusted links referencing WordPress admin URLs and to log out of admin sessions when not in use.
  • Restrict admin dashboard access to trusted source IP addresses via web server or firewall controls.
bash
# Example WAF rule pattern (ModSecurity-style) blocking scripted _wpnonce values
SecRule ARGS:_wpnonce "@rx (?i)(<script|javascript:|onerror=|onload=)" \
    "id:1009001,phase:2,deny,status:403,msg:'Reflected XSS attempt in _wpnonce (CVE-2024-11975)'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.