---
id: CVE-2026-12272
title: >-
  Lightweight Cookie Notice <= 1.19 - Sensitive Information Exposure via
  W3TC_DYNAMIC_SECURITY Constant
summary: >-
  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 hard…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-330
vendor: daext
product: Lightweight Cookie Notice – Cookie Banner for Cookie Consent
affected:
  - lightweight_cookie_notice_cookie_banner_for_cookie_consent <= 1.19
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-16T16:46:56.852934Z'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T17:06:46.117Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-12272'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/54e53420-aa89-49d6-9632-cba066c46a51?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3584811/lightweight-cookie-notice-free/trunk/public/class-daextlwcnf-public.php
tags:
  - cve.org
epss: 0.00214
epssPercentile: 0.10988
ingestedAt: '2026-10-16T06:00:00.392Z'
---

## Overview

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.

## Affected

- `lightweight_cookie_notice_cookie_banner_for_cookie_consent <= 1.19`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
