WP GDPR Cookie Consent CVE-2025-53316
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost malicious page with CSRF form
-
DeliveryTrick admin to visit while logged in
-
ExploitSubmit forged request to plugin endpoint
-
ExecutionStore XSS payload in database
-
PersistPayload executes in admin context
-
ImpactEstablish persistent access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a WordPress administrator to be actively logged into the site's admin panel when they visit an attacker-controlled webpage or click a malicious link (required user interaction per CVSS UI:R). The WP GDPR Cookie Consent plugin must be installed and activated on the target WordPress site. No special plugin configuration or non-default settings required - the vulnerability exists in default plugin installation. Attack is limited by the need for social engineering to trick administrators into visiting external malicious pages while authenticated, and by the relatively narrow installation base of this specific GDPR cookie consent plugin. The network attack vector (AV:N) and low attack complexity (AC:L) mean remote exploitation is straightforward once the user interaction condition is met. No authentication to the attacker's infrastructure is required (PR:N), making the attack accessible to low-skilled attackers who can host simple HTML pages. |
| Impact | Real-world risk is moderate rather than high despite the 7.1 CVSS score. While CVSS indicates network vector with no authentication required (AV:N/PR:N), the UI:R metric means successful exploitation depends on social engineering an administrator to click a malicious link or visit an attacker-controlled page while logged into WordPress. The EPSS score of 0.03% (10th percentile) suggests minimal real-world exploitation likelihood, likely because this plugin has limited deployment and the attack requires targeted social engineering against specific site administrators. No public exploit code is confirmed per Patchstack reference, and the vulnerability is not in CISA KEV, indicating no widespread or automated exploitation. However, the changed scope (S:C) and stored XSS nature mean successful exploitation grants persistent access to administrator sessions, making this a priority for sites actively using this plugin. The low attack complexity (AC:L) means exploitation is straightforward once user interaction is achieved. Primary risk is to small websites using this specific cookie consent plugin where administrators might click external links without scrutiny. |
| Exploit ScenarioDerived | Attacker crafts a malicious webpage or email containing a hidden HTML form that submits a CSRF request to the vulnerable WordPress site's WP GDPR Cookie Consent settings endpoint. The forged request includes a stored XSS payload in a plugin configuration field (such as cookie notice text or custom HTML). When a logged-in site administrator visits the attacker's page, their browser automatically submits the request with their valid authentication cookies. The plugin processes the request without CSRF token validation, storing the malicious JavaScript in the WordPress database. When any administrator subsequently accesses the plugin settings or a page rendering the cookie consent notice in admin context, the stored XSS payload executes with administrator privileges, enabling the attacker to create new admin accounts, install backdoor plugins, exfiltrate sensitive data, or modify site content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 24, 2026
Stored cross-site scripting in WP GDPR Cookie Consent plugin versions up to 1.0.0 can be triggered via cross-site request forgery (CSRF) attack, allowing remote attackers to inject malicious JavaScript into the WordPress site without authentication but requiring victim administrator interaction. The chained CSRF-to-XSS vulnerability enables attackers to execute JavaScript in administrator contexts, potentially leading to site takeover. EPSS probability is low (0.03%), no public exploit confirmed, and no known active exploitation at time of analysis.
Earlier versions of this analysis (1)
Cross-Site Request Forgery (CSRF) vulnerability in Shahjahan Jewel WP GDPR Cookie Consent wp-gdpr-cookie-consent allows Stored XSS.0.0. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
RemediationAI
Update WP GDPR Cookie Consent to a version newer than 1.0.0 if available. Check the WordPress plugin repository or contact plugin author Shahjahan Jewel for patched release. Patchstack database reference at https://patchstack.com/database/Wordpress/Plugin/wp-gdpr-cookie-consent/vulnerability/wordpress-wp-gdpr-cookie-consent-plugin-1-0-0-cross-site-request-forgery-csrf-vulnerability?_s_id=cve should contain patch details, though specific fix version is not confirmed in available data. If no patched version exists, immediately deactivate and remove the plugin, replacing it with an alternative GDPR cookie consent solution such as CookieYes, Complianz, or GDPR Cookie Compliance. As interim mitigation if the plugin must remain active, implement Content Security Policy headers to restrict inline script execution (note this may break legitimate plugin functionality), configure web application firewall rules to detect CSRF patterns targeting WordPress admin endpoints, and educate administrators to verify legitimacy of any external links before clicking while logged into WordPress admin panel. Consider enabling two-factor authentication for WordPress administrators to add defense-in-depth, though this does not directly prevent CSRF-to-XSS exploitation.
Affected ProductsAI
WordPress sites running WP GDPR Cookie Consent plugin by Shahjahan Jewel, affecting all versions from initial release through version 1.0.0. The vulnerability was reported by Patchstack audit team (audit@patchstack.com). The plugin is distributed through WordPress.org plugin repository. Vendor advisory available at Patchstack database: https://patchstack.com/database/Wordpress/Plugin/wp-gdpr-cookie-consent/vulnerability/wordpress-wp-gdpr-cookie-consent-plugin-1-0-0-cross-site-request-forgery-csrf-vulnerability?_s_id=cve
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a chained vulnerability combining CWE-352 (Cross-Site Request Forgery) with stored XSS in a WordPress plugin. WP GDPR Cookie Consent is a WordPress plugin designed to manage cookie consent notices for GDPR compliance. The CSRF flaw allows attackers to forge requests on behalf of authenticated administrators, while the stored XSS component indicates that malicious payloads persist in the database and execute when administrators view affected pages. The CVSS vector AV:N/AC:L/PR:N indicates network-exploitable without authentication, though UI:R confirms required user interaction. The S:C (scope changed) metric indicates the vulnerability breaks out of the plugin's security context into the broader WordPress environment, enabling JavaScript execution with administrator privileges and access to WordPress APIs, other plugins, and sensitive user data.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Primary rating from Vendor (patchstack) · only source for this CVE.
CVSS VectorVendor: patchstack
Lifecycle Timeline
3DescriptionCVE.org
Cross-Site Request Forgery (CSRF) vulnerability in Shahjahan Jewel WP GDPR Cookie Consent wp-gdpr-cookie-consent allows Stored XSS.This issue affects WP GDPR Cookie Consent: from n/a through <= 1.0.0.
Executive ViewAI
WP GDPR Cookie Consent plugin versions up to 1.0.0 contain a stored cross-site scripting vulnerability (CVE-2025-53316) that allows unauthenticated attackers to inject malicious JavaScript through a CSRF attack, provided an administrator is tricked into performing an action. Successful exploitation could lead to administrator account compromise and full site takeover, affecting any WordPress instance using this plugin.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable the plugin until patched version is available; (2) Restrict administrator dashboard access by IP allowlist; (3) Implement CSRF token validation and SameSite cookie policies site-wide; (4) Apply Web Application Firewall rules to detect and block JavaScript injection patterns; (5) Enable security monitoring and logging of administrator actions; (6) Educate administrators to avoid clicking untrusted links while logged in.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB