Skip to main content

WPPool Dark Mode CVE-2026-93535

| EUVDEUVD-2026-102609 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-16 Wordfence GHSA-cfrj-fqm2-7frv
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Obtain Contributor-level account
  2. Delivery
    Author page with Dark Mode shortcode
  3. Exploit
    Inject script via 'icon_light' attribute
  4. Execution
    Payload stored unsanitized
  5. Persist
    Victim/admin views page
  6. Impact
    Script executes in their browser session

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

Exploitation requires an authenticated account with Contributor-level privileges or higher on a WordPress site running the WPPool 'Dark Mode - Improve Accessibility' plugin version 5.3.17 or earlier, and the attacker must be able to author content using the plugin's shortcode and supply a crafted 'icon_light' attribute value. The payload only fires when another user subsequently accesses the injected page. Limiting factors: the Contributor privilege gate (sites that disallow self-registration or tightly control contributor roles are largely insulated), dependence on the vulnerable plugin being installed and active, and reliance on a victim visiting the injected page for impact to materialize.

Impact

This is a moderate-priority, authenticated stored XSS flaw rather than a critical remote-code issue. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, base 6.4) shows network reach and low complexity but requires at least Contributor-level privileges (PR:L), which materially constrains the attacker pool to users who already hold a WordPress account with content-authoring rights. No EPSS score, CISA KEV listing, POC, or SSVC decision data was provided in the input, so exploitation-probability and automatability signals cannot be weighed here. No conflicting signals were observed: the description's 'authenticated attackers, with Contributor-level access and above' aligns cleanly with the CVSS PR:L metric. The scope change (S:C) and Low confidentiality/integrity impacts reflect script execution in other users'/visitors' browser contexts rather than server compromise. Overall this is a real but bounded issue - a privileged-insider / low-trust-contributor persistence vector - not a mass-exploitable unauthenticated bug; priority should scale with how many semi-trusted Contributor accounts exist on a given site.

Exploit ScenarioDerived

An attacker who holds (or phishes/registers into) a Contributor-level account on a site running this plugin inserts a malicious payload into the 'icon_light' shortcode attribute while authoring a page. Because the input is neither sanitized nor output-escaped, the script is stored and later executes in the browser of any user - including administrators - who views the injected page. No public exploit code was identified at time of analysis.

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

Stored cross-site scripting in the WPPool 'Dark Mode - Improve Accessibility with AI Powered Dark Theme' WordPress plugin (all versions up to and including 5.3.17) allows attackers holding a Contributor-level account or higher to inject arbitrary JavaScript via the 'icon_light' shortcode attribute, which then executes in the browser of any visitor who later loads the injected page. Authentication is required and the privilege gate is Contributor-and-above (CVSS vector PR:L, scope changed), so sites that tightly control or disable self-registration and editorial roles are largely insulated. No public exploit code and no confirmed active exploitation have been identified at time of analysis; EPSS and KEV data were not provided.

RemediationAI

Primary fix: apply the vendor change referenced in the WordPress.org Trac changeset https://plugins.trac.wordpress.org/changeset/3704136/ and upgrade the plugin beyond version 5.3.17 - note that the referenced fix is a source changeset, so a newly tagged release incorporating it should be verified in the plugin directory before relying on auto-update; until a patched tagged version is confirmed, do not assume 5.3.17 is safe. Interim compensating controls, each with trade-offs: (1) deactivate the 'Dark Mode - Improve Accessibility with AI Powered Dark Theme' plugin entirely - fully removes the attack surface but loses the dark-mode accessibility feature; (2) restrict who can publish or submit content by lowering Contributor capabilities or disabling open registration/author accounts - blocks the required PR:L prerequisite but may disrupt legitimate editorial workflows; (3) audit and re-save existing posts and pages containing the plugin shortcode to strip any injected 'icon_light' attribute values, which is labor-intensive on large sites; (4) deploy a WAF rule or content-filtering hook that rejects shortcode attributes containing angle brackets, quotes, or JavaScript URIs - reduces exploitability but can cause false positives on legitimate icon markup. Full details and any updated patch guidance are available in the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/023b70db-da91-4a35-9d1f-9c90534f29d0?source=cve.

Affected VersionsENISA

Dark Mode – Improve Accessibility with AI Powered Dark Theme 0 ≤5.3.17

Affected Packages

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

The vulnerability is a classic CWE-79 improper neutralization of input during web page generation, manifesting in the WordPress shortcode layer. The plugin registers a shortcode whose 'icon_light' attribute is meant to supply an icon reference rendered into the page markup for the dark-mode toggle. Because the attribute value is neither sanitized on input nor escaped on output (for example via esc_attr()/esc_url() at render time or wp_kses()/sanitize_* on save), a Contributor can embed HTML/JavaScript inside the attribute of the shortcode placed in post content. WordPress stores that post content verbatim, and the payload is only materialized when the shortcode is parsed and the page is rendered for a subsequent viewer, making this a persistent (stored) XSS. The affected component is identified by CPE cpe:2.3:a:wppool:dark_mode_-_improve_accessibility_with_ai_powered_dark_theme across all version ranges, confirming every release of the plugin - not a specific build - carries the flaw through 5.3.17. The scope change (S:C) in the assessed vector reflects that script executing in the victim's browser session can act beyond the plugin's own security context, potentially reaching the broader WordPress admin/user surface depending on who views the page.

Know when Wordpress Plugin 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 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Contributor authentication required (PR:L); stored payload needs no interaction to store and fires cross-context (S:C) with limited browser-side confidentiality/integrity impact and no availability loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/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
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Dark Mode - Improve Accessibility with AI Powered Dark Theme plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'icon_light' Shortcode Attribute in all versions up to, and including, 5.3.17 due to insufficient input sanitization and output escaping. 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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 96% exploitable
Prevalence
Medium
common WordPress accessibility plugin, sizable but not universal install base
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
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

CVE-2024-50498 CRITICAL POC
10.0 Oct 28

Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u

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