Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in cookiecode CookieCode cookiecode allows Stored XSS.This issue affects CookieCode: from n/a through <= 2.4.4.
Published: 2025-05-07
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

CookieCode is a WordPress plugin that manages cookie banners. The vulnerability arises from insufficient escaping of user‑controlled input before rendering it in the web page, allowing an attacker to inject arbitrary script code. An attacker could embed malicious JavaScript in the plugin’s configuration or the cookie banner content, which would be stored in the database and executed whenever a user visits the WordPress site, potentially leading to credential theft, session hijacking, or defacement.

Affected Systems

The affected software is the CookieCode WordPress plugin, version 2.4.4 and earlier. Any WordPress site that has installed CookieCode 2.4.4 or an earlier release is vulnerable. The issue was reported to affect all versions from n/a through <= 2.4.4, with no specific exclusions noted.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity and the EPSS score of <1% suggests that the exploit is currently unlikely to be found in the wild. The vulnerability is not listed in CISA KEV. Attackers can exploit the flaw by submitting crafted input to the plugin’s admin interface, causing stored XSS that is triggered on subsequent page loads. Because the stored data is rendered without proper neutralization, a successful injection could compromise any visitor to the site. The vulnerability is inferred to be exploitable through a web‑facing interface, but no exploit has been observed publicly at this time.

Generated by OpenCVE AI on April 30, 2026 at 13:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the CookieCode plugin to the latest version (2.4.5 or later) which includes proper input sanitization.
  • If an upgrade is not immediately possible, disable or remove the CookieCode plugin to eliminate the vulnerable code path.
  • As a temporary protective measure, configure a web application firewall or enforce a content security policy to block script execution for the cookie banner area.

Generated by OpenCVE AI on April 30, 2026 at 13:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-13732 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in cookiecode CookieCode allows Stored XSS. This issue affects CookieCode: from n/a through 2.4.4.
History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L'}


Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in cookiecode CookieCode allows Stored XSS. This issue affects CookieCode: from n/a through 2.4.4. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in cookiecode CookieCode cookiecode allows Stored XSS.This issue affects CookieCode: from n/a through <= 2.4.4.
Title WordPress CookieCode <= 2.4.4 - Cross Site Scripting (XSS) Vulnerability WordPress CookieCode plugin <= 2.4.4 - Cross Site Scripting (XSS) Vulnerability
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L'}


Mon, 14 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00036}

epss

{'score': 0.00042}


Wed, 07 May 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 May 2025 14:45:00 +0000

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in cookiecode CookieCode allows Stored XSS. This issue affects CookieCode: from n/a through 2.4.4.
Title WordPress CookieCode <= 2.4.4 - Cross Site Scripting (XSS) Vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:12:48.632Z

Reserved: 2025-05-07T10:45:27.458Z

Link: CVE-2025-47668

cve-icon Vulnrichment

Updated: 2025-05-07T17:18:54.722Z

cve-icon NVD

Status : Deferred

Published: 2025-05-07T15:16:19.177

Modified: 2026-04-23T15:30:42.810

Link: CVE-2025-47668

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-30T13:15:37Z

Weaknesses