CVE-2025-58878
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-58878 is a Cross-Site Request Forgery (CSRF) vulnerability in the Woocommerce Gifts Product WordPress plugin (slug: woo-gift-product) developed by usamafarooq. It affects all versions from n/a through 1.0.0 (inclusive) and was published on September 5, 2025. The vulnerability was discovered and reported by Patchstack. It carries a CVSS v3.1 base score of 6.5 (Medium/High) (Red Hat CVE, Patchstack).

Technical details

The vulnerability is classified as CWE-352 (Cross-Site Request Forgery), meaning the plugin fails to properly validate or verify the origin of state-changing HTTP requests. An unauthenticated remote attacker can craft a malicious web page or link that, when visited by an authenticated WordPress administrator or shop manager, silently submits forged requests to the plugin's endpoints — performing unauthorized actions on the victim's behalf. No special privileges are required by the attacker, but user interaction (the victim clicking a link or visiting a malicious page) is necessary for exploitation (Patchstack, Red Hat CVE).

Impact

Successful exploitation allows an attacker to perform unauthorized state-changing actions within the WooCommerce store on behalf of an authenticated user, resulting in a high integrity impact with no confidentiality or availability impact. Depending on the plugin's functionality, this could include manipulating gift product configurations, settings, or other plugin-controlled data. The attack scope is limited to the affected WordPress/WooCommerce installation (Red Hat CVE).

Exploitability

No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported for CVE-2025-58878 as of the time of publication. The EPSS score is approximately 0.014% (0.000140), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The attack requires user interaction, which somewhat limits opportunistic exploitation (Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Woocommerce Gifts Product plugin version ≤ 1.0.0 using tools like WPScan or by checking publicly accessible plugin metadata.
  2. Identify target action: Determine which plugin endpoints or admin actions lack CSRF token validation (e.g., gift product creation, modification, or deletion forms).
  3. Craft malicious request: Create an HTML page containing a hidden form or JavaScript that automatically submits a forged POST/GET request to the vulnerable plugin endpoint with attacker-controlled parameters.
  4. Deliver to victim: Trick an authenticated WordPress administrator or shop manager into visiting the malicious page via phishing email, social engineering, or a compromised third-party site.
  5. Action executed: The victim's browser automatically submits the forged request with their valid session cookies, causing the plugin to execute the unauthorized action (e.g., modifying gift product settings) without the victim's knowledge (Red Hat CVE).

Indicators of compromise

  • Logs: WordPress access logs showing unexpected POST requests to plugin-specific admin endpoints (e.g., wp-admin/admin-post.php or wp-admin/admin-ajax.php) with plugin-related action parameters from unusual referrer origins or with missing/empty Referer headers.
  • Application: Unexpected changes to WooCommerce gift product configurations, settings, or product listings that cannot be attributed to known administrator activity.
  • Network: Requests to WordPress admin endpoints originating from external or unexpected IP addresses, particularly those lacking a valid same-origin Referer header.

Mitigation and workarounds

The primary remediation is to update the Woocommerce Gifts Product plugin to a version beyond 1.0.0 that includes proper CSRF nonce validation, if such a patched version has been released by the author. If no patched version is available, site administrators should consider deactivating and removing the plugin until a fix is published. As a general hardening measure, restrict access to WordPress admin areas using IP allowlisting and ensure all administrative users are trained to avoid clicking unsolicited links while authenticated (Patchstack).

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-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 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