Skip to main content

Smart Cookie Kit CVE-2026-119178

| EUVDEUVD-2026-118197 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-06 Wordfence GHSA-r989-vr5g-h5qp
5.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted comment unauthenticated
  2. Delivery
    Smuggle quote inside allowed <code> element
  3. Exploit
    Administrator approves comment from moderation queue
  4. Execution
    Output buffer rebuilds payload into abbr title attribute
  5. Impact
    Arbitrary script executes in page visitors' browsers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must submit a comment via the 'comment' parameter containing a payload specifically crafted to pass WordPress's wp_kses sanitization - storing the attribute-breaking double-quote inside a permitted <code> element so it is only reconstructed into an <abbr title> attribute by the Smart Cookie Kit plugin's own output buffer at render time. Exploitation is strongly limited by two required privileged actions: an administrator must approve the stored comment out of the moderation queue, and a user (including the approving admin) must then view the affected public post for the script to execute. These prerequisites - the crafted wp_kses bypass (reflected as AC:H) and the dependence on admin comment approval plus the plugin's output-buffering render path - mean exploitation is not possible against a default install without administrator interaction, despite the unauthenticated submission step. Affected: all versions up to and including 2.3.2.

Impact

Signals point to a genuine but moderate-priority issue rather than an emergency. The CVSS 3.1 base score is 5.4 (Medium) with AV:N, AC:H, PR:N, UI:N, S:C, C:L/I:L/A:N - network-reachable and nominally unauthenticated, but the High attack complexity reflects the non-trivial wp_kses bypass (hiding an attribute-breaking double-quote inside an allowed <code> body so the plugin's own output buffer reconstructs it into an <abbr title> attribute at render time). There is a direct conflict between the data and the description: the supplied vector sets UI:N, yet the description states exploitation requires an administrator to approve the comment and then view the affected post - that is meaningful privileged user interaction, which lowers practical exploitability and argues the vector under-represents the required interaction (verify UI with the vendor). No EPSS score was provided, there is no CISA KEV listing (not actively exploited per available data), and no confirmed working exploit code was supplied - the references are the Wordfence advisory and plugin source lines, not a PoC. The vuln.today decision label is 'this_month', consistent with scheduled patching within a normal cycle rather than immediate action. Net: a real stored XSS worth remediating on a routine cadence, but the admin-approval dependency and crafted-bypass complexity make widespread opportunistic exploitation unlikely.

Exploit ScenarioDerived

An unauthenticated attacker posts a comment to a public post, embedding a payload crafted to survive wp_kses by smuggling a double-quote inside an allowed <code> element. When an administrator later approves that comment and views the post, the plugin's output buffer reconstructs the hostile character into an <abbr title> attribute, executing attacker-controlled JavaScript in the browser of anyone who then views the page. No confirmed public exploit exists at time of analysis, and the crafted filter-bypass plus required admin approval make this a high-complexity chain.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Stored cross-site scripting in the Smart Cookie Kit plugin for WordPress (all versions up to and including 2.3.2) allows an unauthenticated visitor submitting a comment to store a payload that executes in the browser of anyone who later views the affected public post. The payload is deliberately shaped to survive wp_kses on save by hiding an attribute-breaking double quote inside a permitted <code> element and only reconstructing it into an <abbr title> attribute through the plugin's own output buffer at render time. Exploitation is gated by two privileged steps - an administrator must approve the queued comment, and a viewer must then load the injected page - which is why the assessed vector carries AC:H and UI:R despite the unauthenticated submission path; no public exploit code has been identified and the issue is not in CISA KEV, with the decision label set to this_month rather than immediate action.

RemediationAI

No vendor-released patch was identified at the time of analysis, and the supplied data does not list a fixed version - do not assume that 2.3.2 or any earlier release is corrected; track the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/dcd65429-4fe3-41a7-a622-cbbecf4b7dd2?source=cve for a patched release before restoring normal use. Because the exploit depends on an administrator approving the crafted comment and on the plugin's own output-buffer render path, the most direct compensating control is to deactivate and remove Smart Cookie Kit until a fix ships, which removes the vulnerable rendering entirely at the cost of losing the plugin's cookie-consent functionality and any stored consent records it manages. If the plugin must stay live, treat the comment moderation queue as an attack surface: restrict comment approval to trusted moderators, review queued comments for markup smuggled inside otherwise permissible elements such as <code>, and hold or reject suspicious submissions, accepting that this is a manual, error-prone control. Note that wp_kses itself is the component being bypassed here, so generic sanitization or input-filtering plugins should not be relied on as a fix.

Affected VersionsENISA

Smart Cookie Kit 0 ≤2.3.2

Affected Packages

euvd smart_cookie_kit no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Smart Cookie Kit is a WordPress plugin (CPE: cpe:2.3:a:shark986:smart_cookie_kit) that handles cookie-consent behaviour and ships a bundled copy of the simple_html_dom parsing library alongside its frontend rendering code (plugin_frontend.php, plugin.php). The flaw is a classic CWE-79 output-encoding failure with a sanitization-bypass twist: the 'comment' parameter is stored after WordPress's wp_kses filtering, but the attacker places the attribute-breaking double quote inside the body of a permitted <code> element, where kses leaves it intact, and the plugin's output-buffering/HTML-rewriting path later emits that content into an <abbr title> attribute - at which point the smuggled quote terminates the attribute and the injected markup becomes live. The affected code paths are visible in the referenced plugin_frontend.php lines around 1335, 1453 and 1463 and in simple_html_dom.php lines 707, 2498, 2653 and 2680, indicating the DOM-manipulation layer is where the stored value is re-serialized into an unsafe attribute context. Because the trigger depends on that specific render-time reconstruction rather than a simple stored-value echo, the assessed attack complexity is High and user interaction is required for execution.

Know when Smart Cookie Kit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 5.4 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

Unauthenticated remote comment submission keeps PR:N and AV:N; the wp_kses-bypass crafting gives AC:H; required admin approval makes UI:R; stored XSS across security scope gives S:C with C:L/I:L and no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Smart Cookie Kit plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.3.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload is specifically crafted to survive wp_kses on save by storing hostile characters inside allowed HTML elements, with the attribute-breaking double-quote smuggled inside a permitted &lt;code&gt; body and reconstructed into a &lt;abbr title&gt; attribute only at render time by the plugin's own output buffer; exploitation requires an administrator to approve the comment and subsequently view the affected public post.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche single-author WordPress cookie plugin, limited deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy