Skip to main content

Lightweight Cookie Notice CVE-2026-12272

| EUVDEUVD-2026-102667 MEDIUM
Use of Insufficiently Random Values (CWE-330)
2026-10-16 Wordfence GHSA-phxf-4j8m-r2jf
5.3
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Identify site running plugin ≤1.19 with W3 Total Cache
  2. Exploit
    Derive mfunc key from hardcoded W3TC_DYNAMIC_SECURITY value
  3. Execution
    Craft request with signed mfunc PHP payload
  4. Impact
    Execute arbitrary PHP on web server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic random values
Exploitation Conditions

The confidentiality leak itself requires no special conditions - a remote unauthenticated attacker can rely on the W3TC_DYNAMIC_SECURITY constant being hardcoded to a publicly known value in all versions up to and including 1.19. However, escalation to arbitrary PHP code injection is strictly gated: the W3 Total Cache plugin must ALSO be installed on the same site and its mfunc dynamic-content feature must be active to process signed mfunc directives. On sites without W3 Total Cache, or without mfunc in use, impact is limited to disclosure of a security key with no direct code-execution path. The limiting factor is therefore the co-presence and configuration of a second, separate plugin (W3 Total Cache), not any authentication or user interaction.

Impact

The input signals point to a moderate, conditional risk rather than a widespread emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) yields a 5.3 Medium score reflecting ONLY the low-impact confidentiality leak (C:L/I:N/A:N) - i.e. the exposure of the hardcoded W3TC_DYNAMIC_SECURITY value - not the far more serious PHP code injection that becomes possible downstream. That escalation is explicitly conditional: the description says arbitrary PHP code injection 'may' occur only 'when W3 Total Cache is installed' and its mfunc feature is in use, so the headline 5.3 understates worst-case impact while the worst case itself is gated by a second-plugin prerequisite. No EPSS score, KEV listing, POC, or SSVC decision data was supplied in the input, so exploitation probability and automatability cannot be quantified from the data given - there is no public exploit identified at time of analysis and no evidence of active exploitation. Net: this is a credible defense-in-depth weakness for sites running both this plugin and W3 Total Cache, but absent EPSS/KEV/POC signals it should be treated as a patch-promptly item, not a drop-everything incident. Note the conflict to verify: the unauthenticated network vector applies to disclosing the key, but weaponizing it into RCE depends on a separate product (W3 Total Cache) and its configuration, which the base CVSS does not capture.

Exploit ScenarioDerived

A remote, unauthenticated attacker targets a WordPress site running Lightweight Cookie Notice (≤1.19) alongside W3 Total Cache. Because W3TC_DYNAMIC_SECURITY is hardcoded to a publicly known value, the attacker already knows the W3 Total Cache mfunc security key and can craft requests containing mfunc directives that, if W3TC processes them, execute attacker-supplied PHP on the server. No public exploit code was identified in the provided data, and the RCE path depends on W3 Total Cache being installed and processing mfunc content.

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

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

Alert me

AnalysisAIv1 – Oct 16, 2026

Sensitive information exposure in the WordPress plugin Lightweight Cookie Notice (daext) in all versions up to and including 1.19 leaks the W3TC_DYNAMIC_SECURITY constant, which the plugin hardcodes to a publicly known value; a remote, unauthenticated attacker can therefore learn the W3 Total Cache mfunc security key without any credentials or user interaction. On sites that also run W3 Total Cache with its mfunc dynamic-content feature active, knowledge of that key may allow an attacker to forge signed mfunc directives and inject arbitrary PHP code, but the confidentiality leak alone scores only 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) and escalation to code execution is strictly conditional on the co-presence and configuration of that second plugin. No public exploit code has been identified at time of analysis and there is no indication of confirmed active exploitation (no CISA KEV listing).

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the vendor-published change is WordPress.org Trac changeset 3584811 for lightweight-cookie-notice-free (https://plugins.trac.wordpress.org/changeset/3584811/lightweight-cookie-notice-free/trunk/public/class-daextlwcnf-public.php), so site owners should upgrade the plugin to the first release that incorporates that changeset and treat any version at or below 1.19 as vulnerable. Because the leaked value is a shared secret rather than a per-site key, patching the plugin does not invalidate the key already known to attackers: on any site that also runs W3 Total Cache, rotate W3TC_DYNAMIC_SECURITY to a unique, randomly generated value and clear the page cache so no signed mfunc fragments carry the old key; the trade-off is that cached fragments must be regenerated, causing a brief origin-load increase. If W3 Total Cache's mfunc dynamic-content feature is not strictly required, disable it entirely (or disable W3 Total Cache), which removes the PHP code-injection path at the cost of losing per-user/dynamic cached fragments such as carts or personalization blocks. Where neither plugin is business-critical, deactivating and deleting the Lightweight Cookie Notice plugin removes the exposure with only the loss of the cookie banner; additional detail is in the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/54e53420-aa89-49d6-9632-cba066c46a51?source=cve. Note that the plugin being present alone is not exploitable for code execution - no compensating control is needed beyond applying the fix, and no vendor-released patch version number could be confirmed from the supplied data.

Affected VersionsENISA

Lightweight Cookie Notice – Cookie Banner for Cookie Consent 0 ≤1.19

Affected Packages

euvd lightweight_cookie_notice_cookie_banner_for_cookie_consent 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

Root cause is CWE-330 (Use of Insufficiently Random Values): rather than generating a site-unique secret, the Lightweight Cookie Notice codebase ships the W3TC_DYNAMIC_SECURITY constant hardcoded to a value that is publicly known, so the value is identical across every installation and is trivially recoverable by inspecting the plugin's source. W3 Total Cache uses that same constant as the signing key for its mfunc (dynamic content) mechanism: mfunc directives embedded in cached HTML are accompanied by a signature computed with W3TC_DYNAMIC_SECURITY, and W3 Total Cache only evaluates the enclosed PHP when the signature validates. Because the key is predictable, an attacker who can get content rendered or requested on a target site can construct a correctly signed mfunc directive; if the feature is enabled, W3 Total Cache will evaluate it as PHP. The affected package is tracked as cpe:2.3:a:daext:lightweight_cookie_notice_-_cookie_banner_for_cookie_consent:*:*:*:*:*:*:*:* (the WordPress.org slug is lightweight-cookie-notice-free). The exposed asset is a shared secret rather than data in the site's database, so the practical severity depends entirely on whether the paired W3 Total Cache plugin is installed and processing signed dynamic content.

Know when PHP 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.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 5.3 MEDIUM

Remote unauthenticated disclosure of a hardcoded key justifies AV:N/AC:L/PR:N/UI:N with C:L; I:N/A:N because code injection is a conditional downstream effect requiring a separate plugin.

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

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The Lightweight Cookie Notice - Cookie Banner for Cookie Consent plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.19 This is due to the W3TC_DYNAMIC_SECURITY constant being hardcoded to a publicly known value. This makes it possible for unauthenticated attackers to know the W3 Total Cache mfunc security key, which when W3 Total Cache is installed may allow arbitrary PHP code injection.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche daext WordPress plugin, limited install base versus major plugins
Social Media
1
Sightings
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.2%
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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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