Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-23567

CVE-2025-23567: GDReseller CSRF Vulnerability

CVE-2025-23567 is a Cross-Site Request Forgery vulnerability in Tamer Ziady's GDReseller plugin that enables Stored XSS attacks. This article covers the technical details, affected versions up to 1.6, and mitigation.

Updated:

CVE-2025-23567 Overview

CVE-2025-23567 is a Cross-Site Request Forgery (CSRF) vulnerability in the GDReseller WordPress plugin developed by Tamer Ziady. The flaw affects all versions of GDReseller up to and including 1.6. An attacker can leverage the CSRF weakness to deliver a Stored Cross-Site Scripting (XSS) payload, persisting malicious JavaScript within the application. Exploitation requires user interaction, typically by tricking an authenticated administrator into visiting an attacker-controlled page. The vulnerability is tracked under CWE-352 for missing CSRF protections.

Critical Impact

A successful attack stores attacker-controlled JavaScript in the WordPress site, enabling session theft, administrative account takeover, and arbitrary content modification when other users view affected pages.

Affected Products

  • Tamer Ziady GDReseller plugin for WordPress
  • All versions through 1.6
  • WordPress installations with the GDReseller plugin enabled

Discovery Timeline

  • 2025-01-16 - CVE-2025-23567 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-23567

Vulnerability Analysis

The GDReseller plugin fails to validate the origin and authenticity of state-changing HTTP requests. Endpoints that accept input from administrators do not enforce WordPress nonce checks or equivalent anti-CSRF tokens. As a result, an attacker can craft a malicious HTML page or link that submits a forged request to the target site. When an authenticated administrator visits the page, the browser automatically attaches valid session cookies and executes the action.

The forged request writes attacker-supplied data into a plugin field that is later rendered without proper output encoding. This combination of missing CSRF protection and missing output sanitization produces a Stored XSS condition. The injected script executes in the browser context of any user viewing the affected page, including other administrators.

Root Cause

The root cause is the absence of CSRF token validation on plugin actions that modify persistent state. The plugin trusts authenticated sessions without verifying request origin. Combined with insufficient sanitization of stored input, the missing nonce check allows an external site to inject persistent JavaScript into the WordPress database.

Attack Vector

Exploitation occurs over the network and requires user interaction from a privileged user. An attacker hosts a malicious page containing a hidden form or fetch request targeting the vulnerable GDReseller endpoint. The attacker lures an authenticated administrator to the page through phishing or a malicious link. The browser submits the request with the administrator's session cookies, storing the XSS payload. The payload then executes whenever the affected interface loads, crossing the trust boundary between the attacker's domain and the WordPress site.

For full technical details, see the Patchstack Vulnerability Report.

Detection Methods for CVE-2025-23567

Indicators of Compromise

  • Unexpected <script>, onerror, or onload content stored in GDReseller plugin database tables or WordPress options.
  • HTTP POST requests to GDReseller admin endpoints with a Referer header pointing to an external domain.
  • Administrator sessions making plugin configuration changes shortly after visiting an unfamiliar external URL.
  • New or modified WordPress administrator accounts created without a corresponding audit trail.

Detection Strategies

  • Review WordPress access logs for POST requests to /wp-admin/ paths associated with GDReseller that lack a valid _wpnonce parameter.
  • Inspect database fields managed by the plugin for HTML or JavaScript content that should contain plain text.
  • Deploy Content Security Policy (CSP) reporting to surface unexpected inline script execution on admin pages.
  • Correlate browser referrer anomalies with plugin configuration changes in audit logs.

Monitoring Recommendations

  • Enable WordPress audit logging plugins to record all administrative changes with user, IP, and referrer context.
  • Monitor for outbound requests from administrator browsers to unknown domains that precede plugin state changes.
  • Alert on creation of new privileged users or modifications to plugin settings outside of change windows.

How to Mitigate CVE-2025-23567

Immediate Actions Required

  • Deactivate and remove the GDReseller plugin until a patched version is confirmed available from the vendor.
  • Audit GDReseller-related database entries and remove any stored JavaScript or HTML payloads.
  • Force a password reset and session invalidation for all WordPress administrator accounts.
  • Review recent administrator activity for unauthorized configuration changes or new accounts.

Patch Information

At the time of publication, no fixed version beyond 1.6 has been confirmed in the available references. Monitor the Patchstack Vulnerability Report and the WordPress plugin repository for an updated release addressing CVE-2025-23567.

Workarounds

  • Restrict access to the WordPress admin interface using IP allowlists or VPN-only access to reduce CSRF exposure.
  • Require administrators to use separate browser profiles or sessions when managing the WordPress site.
  • Deploy a Web Application Firewall (WAF) rule to block requests to GDReseller endpoints that lack a valid nonce or have an external Referer.
  • Apply a strict Content Security Policy that disallows inline scripts on WordPress admin pages.
bash
# Example WAF rule pattern to block external-origin POSTs to plugin endpoints
SecRule REQUEST_METHOD "@streq POST" \
  "chain,id:1002025,deny,status:403,msg:'GDReseller CSRF block'"
SecRule REQUEST_URI "@contains /wp-admin/admin.php" "chain"
SecRule ARGS:page "@contains gdreseller" "chain"
SecRule &ARGS:_wpnonce "@eq 0"

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

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.