CVE-2025-23501

WordPress Cookie Consent & Autoblock for GDPR/CCPA plugin <= 1.0.1 - CSRF to Stored Cross Site Scripting (XSS) vulnerability

Published Jan 16, 2025 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Cross-Site Request Forgery (CSRF) vulnerability in SpruceJoy Cookie Consent & Autoblock for GDPR/CCPA cookie-consent-autoblock allows Stored XSS.This issue affects Cookie Consent & Autoblock for GDPR/CCPA: from n/a through <= 1.0.1.

Analysis

AI-generated

Technical impact

The vulnerability is a Cross‑Site Request Forgery (CSRF) flaw in the SpruceJoy Cookie Consent & Autoblock plugin that permits arbitrary JavaScript to be stored and executed within the web page. The stored XSS can execute in the context of the cookie consent banner, allowing an attacker to run malicious script that may steal session cookies, deface the site, or perform further attacks against users who visit the site. The CWE classification is 352, reflecting the lack of proper CSRF protection.

Affected Systems

WP sites running the SpruceJoy Cookie Consent & Autoblock for GDPR/CCPA plugin are affected. Versions up to and including 1.0.1 are explicitly vulnerable, while earlier releases are not referenced. Any WordPress installation that has this plugin installed, regardless of the user role, could be compromised if the plugin is exploited. No other product or version information was provided beyond the stated range.

Risk and Exploitability

The CVSS score of 7.1 places the flaw in the "High" severity range, indicating substantial potential impact. The EPSS is listed as < 1%, meaning the exploit probability is very low on the current dataset, and the vulnerability is not currently recorded in the CISA Known Exploited Vulnerabilities catalog. The attack vector is inferred to be a CSRF performed via a crafted POST or GET request that the plugin fails to protect against. Once the malicious JavaScript is stored, it is served on subsequent page loads, enabling arbitrary client‑side code execution. Given the moderate CVSS and low EPSS, the risk is moderate but should be mitigated promptly to prevent future exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the SpruceJoy Cookie Consent & Autoblock plugin to the latest version that addresses the CSRF and stored XSS issue, or remove the plugin entirely if an update is unavailable.
  • Ensure that all form submissions or state‑changing requests within the plugin include a WordPress nonce and that the server validates it; this will block unauthorized CSRF attempts.
  • Deploy a web application firewall or security plugin that blocks cross‑origin requests to the plugin’s endpoints, providing an additional layer of CSRF protection until a patch is applied.

Generated by OpenCVE AI on May 1, 2026 at 21:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-3214 Cross-Site Request Forgery (CSRF) vulnerability in SpruceJoy Cookie Consent & Autoblock for GDPR/CCPA allows Stored XSS.This issue affects Cookie Consent & Autoblock for GDPR/CCPA: from n/a through 1.0.1.
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 SpruceJoy Cookie Consent & Autoblock for GDPR/CCPA allows Stored XSS.This issue affects Cookie Consent & Autoblock for GDPR/CCPA: from n/a through 1.0.1. Cross-Site Request Forgery (CSRF) vulnerability in SpruceJoy Cookie Consent & Autoblock for GDPR/CCPA cookie-consent-autoblock allows Stored XSS.This issue affects Cookie Consent & Autoblock for GDPR/CCPA: from n/a through <= 1.0.1.
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 SpruceJoy Cookie Consent & Autoblock for GDPR/CCPA allows Stored XSS.This issue affects Cookie Consent & Autoblock for GDPR/CCPA: from n/a through 1.0.1.
Title WordPress Cookie Consent & Autoblock for GDPR/CCPA plugin <= 1.0.1 - CSRF to Stored Cross Site Scripting (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:11 PM
Reserved
Jan 16, 2025, 11:25 AM
Status
Deferred
Published
Jan 16, 2025, 8:15 PM
Modified
Jun 17, 2026, 8:54 AM