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

CVE-2024-35694: Amauri WPMobile.App XSS Vulnerability

CVE-2024-35694 is a cross-site scripting vulnerability in Amauri WPMobile.App wpappninja affecting versions up to 11.41. This article covers the technical details, security risks, 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-35694 Overview

CVE-2024-35694 is a Cross-Site Scripting (XSS) vulnerability in the Amauri WPMobile.App WordPress plugin, tracked under [CWE-79]. The flaw affects all plugin versions up to and including 11.41. An attacker can inject malicious script content that executes in the context of a victim's browser after user interaction. The issue stems from improper neutralization of input during web page generation. Successful exploitation can lead to session theft, credential harvesting, or redirection to attacker-controlled infrastructure. The vulnerability was published to the National Vulnerability Database (NVD) on June 8, 2024.

Critical Impact

Attackers can execute arbitrary JavaScript in the browsers of users who interact with crafted links, enabling account compromise and content manipulation on WordPress sites running vulnerable WPMobile.App installations.

Affected Products

  • Amauri WPMobile.App WordPress plugin versions through 11.41
  • WordPress sites with the wpappninja plugin installed and active
  • Mobile app front-ends generated by the vulnerable plugin

Discovery Timeline

  • 2024-06-08 - CVE-2024-35694 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-35694

Vulnerability Analysis

The WPMobile.App plugin fails to properly sanitize user-controlled input before rendering it in generated web pages. An unauthenticated attacker crafts a URL containing malicious JavaScript payloads. When a victim clicks the link, the plugin reflects the payload into the HTML response without encoding. The browser then executes the script within the trust context of the WordPress site.

The scope-changed nature of the issue means the injected script can affect resources beyond the vulnerable component, such as the WordPress administration interface. Attackers typically chain this flaw with social engineering to target administrators. Common post-exploitation actions include stealing authentication cookies, performing privileged actions through forged requests, and injecting persistent backdoors into site content.

Root Cause

The root cause is missing or insufficient output encoding on parameters processed by the plugin. The plugin accepts request parameters and embeds them into HTML output without applying WordPress sanitization helpers such as esc_html(), esc_attr(), or wp_kses(). This classifies the flaw under [CWE-79], Improper Neutralization of Input During Web Page Generation.

Attack Vector

Exploitation requires network access and victim interaction, typically through a phishing link. No authentication is required to craft or deliver the payload. The attacker constructs a URL pointing to a vulnerable endpoint of the WPMobile.App plugin and includes a JavaScript payload in a reflected parameter. When an authenticated administrator opens the link, the script executes with that user's privileges in the site's origin.

No verified public proof-of-concept code is available. See the Patchstack XSS Vulnerability Advisory for additional technical context.

Detection Methods for CVE-2024-35694

Indicators of Compromise

  • Web server access logs showing requests to WPMobile.App endpoints containing <script>, javascript:, onerror=, or URL-encoded equivalents such as %3Cscript%3E
  • Unexpected outbound connections from administrator browsers immediately after accessing WordPress admin URLs
  • New or modified WordPress user accounts with elevated privileges created without administrator action
  • Unexpected plugin or theme file modifications correlated with administrator sessions

Detection Strategies

  • Inspect HTTP request parameters processed by the wpappninja plugin for script tags, event handlers, and encoded payloads
  • Deploy Web Application Firewall (WAF) rules that identify reflected XSS patterns targeting the vulnerable plugin paths
  • Correlate administrator session activity with anomalous JavaScript execution or DOM modifications via browser telemetry

Monitoring Recommendations

  • Enable WordPress audit logging for plugin activity, user role changes, and configuration edits
  • Monitor Content Security Policy (CSP) violation reports to surface injected script execution attempts
  • Review referrer headers on administrative actions for off-site origins indicative of click-driven exploitation

How to Mitigate CVE-2024-35694

Immediate Actions Required

  • Update the WPMobile.App plugin to a version released after 11.41 that addresses the Cross-Site Scripting flaw
  • Deactivate and remove the plugin if an updated version is not yet available for your deployment
  • Force password resets and session invalidation for all WordPress administrators who may have clicked suspicious links
  • Audit recent plugin, theme, and user account changes for unauthorized modifications

Patch Information

Refer to the Patchstack WP App Ninja Analysis for the latest remediation guidance from the vulnerability database maintainers. Apply the vendor update through the WordPress plugin management interface or by replacing the plugin directory with the patched release.

Workarounds

  • Configure a Web Application Firewall rule to block requests containing script payloads directed at wpappninja plugin endpoints
  • Enforce a strict Content Security Policy that disallows inline script execution on the WordPress site
  • Restrict administrator access to trusted networks and require multi-factor authentication to limit the impact of session hijacking
bash
# Example WAF rule concept for blocking reflected XSS attempts
# Adapt to your WAF syntax (ModSecurity, AWS WAF, Cloudflare, etc.)
SecRule REQUEST_URI "@contains /wp-content/plugins/wpappninja/" \
  "chain,deny,status:403,id:1035694,msg:'Blocked potential CVE-2024-35694 XSS attempt'"
  SecRule ARGS "@rx (?i)(<script|javascript:|onerror=|onload=)" "t:urlDecodeUni,t:htmlEntityDecode"

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.