Description
The Cookie Notice & Compliance for GDPR / CCPA plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's cookies_accepted shortcode in all versions up to, and including, 2.5.8 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-11-22
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that allows an authenticated contributor or higher to inject arbitrary scripts into pages
Action: Apply patch
AI Analysis

Impact

The vulnerability arises from insufficient sanitization of user supplied attributes in the cookies_accepted shortcode of the Cookie Notice & Compliance for GDPR / CCPA plugin. This permits authenticated WordPress users with contributor-level or higher access to store arbitrary JavaScript that is rendered when any visitor views a page containing the shortcode. The stored payload can be used to hijack sessions, steal credentials, or deface the site, compromising both confidentiality and integrity of user data.

Affected Systems

All WordPress sites using the humanityco Cookie Notice & Compliance for GDPR / CCPA plugin up to and including version 2.5.8 are affected. The issue exists within the plugin’s cookies_accepted shortcode functionality, and any site that embeds this shortcode in posts, pages or widgets can be exploited. The vulnerability is only present in older releases; newer releases beyond 2.5.8 have been patched.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while the EPSS score of less than 1% suggests the likelihood of widespread exploitation remains low at present. Because the attack requires authenticated contributor privileges, a site’s internal user management configuration influences risk. Sites that grant many contributors write‑access are more vulnerable. The vulnerability is not listed in the CISA KEV catalog, so there are no confirmed widespread exploitation cases yet.

Generated by OpenCVE AI on April 22, 2026 at 21:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Cookie Notice & Compliance plugin to the latest version released after 2.5.8, which removes the unescaped attributes from the shortcode.
  • If an upgrade cannot be performed immediately, delete or disable all instances of the cookies_accepted shortcode from posts, pages, and widgets to prevent the stored XSS vector.
  • Restrict contributor and other non-admin roles from editing content that includes shortcodes, or apply a site‑wide filter to escape any remaining shortcode attributes before rendering.

Generated by OpenCVE AI on April 22, 2026 at 21:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 24 Nov 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 24 Nov 2025 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Hu-manity
Hu-manity cookie Notice & Compliance For Gdpr / Ccpa
Wordpress
Wordpress wordpress
Vendors & Products Hu-manity
Hu-manity cookie Notice & Compliance For Gdpr / Ccpa
Wordpress
Wordpress wordpress

Sat, 22 Nov 2025 05:15:00 +0000

Type Values Removed Values Added
Description The Cookie Notice & Compliance for GDPR / CCPA plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's cookies_accepted shortcode in all versions up to, and including, 2.5.8 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Cookie Notice & Compliance for GDPR / CCPA <= 2.5.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Hu-manity Cookie Notice & Compliance For Gdpr / Ccpa
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:37:51.667Z

Reserved: 2025-09-30T08:52:10.498Z

Link: CVE-2025-11186

cve-icon Vulnrichment

Updated: 2025-11-24T19:28:52.114Z

cve-icon NVD

Status : Deferred

Published: 2025-11-22T05:15:59.610

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-11186

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T21:15:27Z

Weaknesses