CVE-2025-11186

Cookie Notice & Compliance for GDPR / CCPA <= 2.5.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Published Nov 22, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:37 PM
Reserved
Sep 30, 2025, 8:52 AM
Status
Deferred
Published
Nov 22, 2025, 5:15 AM
Modified
Oct 18, 2026, 8:10 PM