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

High 7.1 Published Updated

A CSRF vulnerability in the Varnish WordPress plugin allows attackers to inject stored XSS payloads, potentially leading to code execution or session hijacking.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-31616?

CVE-2025-31616 is a high-severity vulnerability in AdminGeekZ Varnish WordPress, published on 31 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-352

Which versions are affected by CVE-2025-31616?

How do I fix CVE-2025-31616?

No fix has been published for CVE-2025-31616 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-31616 being exploited?

There is no known exploitation of CVE-2025-31616 in the wild and no public exploit code.

Sources

Also known as GHSA-pcfg-2qx6-cx4f.

Is CVE-2025-31616 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free