CVE-2025-49428
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 · uneditedImproper 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 confidenceThe 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Identify if Dourou Cookie Warning plugin is installedCheck 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.
-
Check the installed plugin versionIn 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.
-
Examine stored cookie warning content for unsanitized inputAccess 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.
-
Inspect the plugin source code for output escapingIf 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.
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 dataImplement 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.
- Consultation1.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA1.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-49428 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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