CVE-2025-31616

WordPress Varnish WordPress plugin <= 1.7 - CSRF to Stored XSS vulnerability

Published Mar 31, 2025 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Cross-Site Request Forgery (CSRF) vulnerability in AdminGeekZ Varnish WordPress varnish-wp allows Cross Site Request Forgery.This issue affects Varnish WordPress: from n/a through <= 1.7.

Analysis

AI-generated

Technical impact

Cross‑Site Request Forgery (CSRF) in AdminGeekZ Varnish WordPress allows an attacker to submit a malicious payload that is saved by the plugin. The stored data is rendered as part of web pages, enabling a stored XSS attack. An attacker can inject JavaScript that runs in the context of any site visitor, potentially stealing cookies, hijacking sessions, defacing pages, or performing other unauthorized actions. This weakness is categorized as CWE‑352.

Affected Systems

The vulnerability affects the AdminGeekZ Varnish WordPress plugin, specifically all releases up to and including version 1.7. The affected component is the plugin’s handling of user‑supplied content. Users with the ability to submit or edit content through the plugin can be impacted. All WordPress sites that have installed this plugin and have not upgraded past version 1.7 are at risk.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity, while the EPSS score of < 1% suggests a low current exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to target users of the plugin with the ability to submit content; the attack vector is likely a forged HTTP request sent in the context of an authenticated user or a visited page. Because it is a CSRF‑to‑stored‑XSS flaw, the threat requires an outlet to inject malicious scripts and may only succeed on sites that render the stored payload without adequate sanitization. Organizations should therefore treat this as a critical patching issue pending an update.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Varnish WordPress plugin to the most recent version, which removes the CSRF vector and sanitizes stored content.
  • As a temporary mitigation, restrict or revoke the capability of non‑trusted users to submit or edit content via the plugin, effectively closing the vector until a patch is available.
  • Deploy a web application firewall rule or content security policy that blocks or sanitizes <script> tags and other JavaScript payloads in content managed by the plugin to mitigate any residual XSS risk.

Generated by OpenCVE AI on May 1, 2026 at 02:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-8783 Cross-Site Request Forgery (CSRF) vulnerability in AdminGeekZ Varnish WordPress allows Cross Site Request Forgery. This issue affects Varnish WordPress: from n/a through 1.7.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in AdminGeekZ Varnish WordPress allows Cross Site Request Forgery. This issue affects Varnish WordPress: from n/a through 1.7. Cross-Site Request Forgery (CSRF) vulnerability in AdminGeekZ Varnish WordPress varnish-wp allows Cross Site Request Forgery.This issue affects Varnish WordPress: from n/a through <= 1.7.
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in AdminGeekZ Varnish WordPress allows Cross Site Request Forgery. This issue affects Varnish WordPress: from n/a through 1.7.
Title WordPress Varnish WordPress plugin <= 1.7 - CSRF to Stored XSS vulnerability
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Subscriptions

No data.

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:12 PM
Reserved
Mar 31, 2025, 10:06 AM
Status
Deferred
Published
Mar 31, 2025, 1:15 PM
Modified
Jun 17, 2026, 9:10 AM