Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-49428

HIGH · 7.5 CVSS v3.1 Published 2025-08-20
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
81/100
Remediation priority · High
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Dourou Cookie Warning allows Stored XSS. This issue affects Cookie Warning: from n/a through 1.3.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

The Dourou Cookie Warning plugin versions up to 1.3 contain a stored XSS vulnerability where user-supplied input is not properly sanitized before being rendered in web pages. An attacker can inject malicious JavaScript code through plugin input fields (likely cookie notice text/values), which then executes in the browsers of all users viewing pages displaying the cookie warning.

MitigationImplement proper output encoding and input validation on all user-facing fields in the cookie warning plugin, using context-appropriate sanitization functions (e.g., esc_html, esc_attr) and server-side validation to prevent script injection.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if Dourou Cookie Warning plugin is installed
    Check your WordPress installation's wp-content/plugins directory for a folder named 'dourou-cookie-warning' or similar. Alternatively, log into the WordPress admin dashboard and navigate to Plugins > Installed Plugins to look for 'Dourou Cookie Warning' or 'Cookie Warning' by Dourou.
    Affected if The plugin folder exists in wp-content/plugins or the plugin appears in the WordPress admin plugin list.
  2. Check the installed plugin version
    In the WordPress admin, find the plugin in Plugins > Installed Plugins and look at the version number displayed below the plugin name. Alternatively, open the main plugin PHP file (usually dourou-cookie-warning.php) and locate the 'Version' header comment in the file header.
    Affected if The installed version is 1.3 or any version lower than 1.3.
  3. Examine stored cookie warning content for unsanitized input
    Access the plugin settings in the WordPress admin (usually under Settings > Cookie Warning or a dedicated Dourou menu). Review all text fields that display cookie notices to users, including cookie message text, button labels, and any customizable fields. Look for any existing content containing HTML script tags, JavaScript event handlers (onclick, onerror, etc.), or iframe/script elements.
    Affected if Any cookie warning text fields contain raw HTML, script tags, or JavaScript code without being escaped or sanitized, indicating the plugin may be vulnerable to stored XSS.
  4. Inspect the plugin source code for output escaping
    If you have file access, locate the main plugin PHP files and search for the functions that output the cookie warning content (look for functions like 'echo', 'print', or 'printf' related to cookie message display). Check if these output functions use WordPress escaping functions such as esc_html(), esc_attr(), or wp_kses() before rendering user input.
    Affected if The plugin outputs cookie warning content without using proper escaping functions like esc_html() or esc_attr(), leaving user input unescaped in HTML context.

You are affected if the Dourou Cookie Warning plugin is installed with version 1.3 or lower and the plugin stores or displays cookie warning content without proper sanitization, allowing HTML or JavaScript injection.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Implement proper output encoding and input validation on all user-facing fields in the cookie warning plugin, using context-appropriate sanitization functions (e.g., esc_html, esc_attr) and server-side validation to prevent script injection.

Have this fixed Scoped from the published advisory
  • Consultation1.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,400
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,240.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-49428 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-49428 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data