Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor-level account
-
DeliveryAuthor page with Dark Mode shortcode
-
ExploitInject script via 'icon_light' attribute
-
ExecutionPayload stored unsanitized
-
PersistVictim/admin views page
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
EUVD-2026-102609
GHSA-cfrj-fqm2-7frv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB