Description
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.
Published: 2026-10-16
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that allows execution of arbitrary scripts on pages accessed by users
Action: Apply Patch
AI Analysis

Impact

The Dark Mode – Improve Accessibility with AI Powered Dark Theme plugin for WordPress contains a stored cross‑site scripting vulnerability in the 'icon_light' shortcode attribute. Authenticated users with Contributor access or higher can inject arbitrary scripts into pages, which then execute for any visitor who loads the affected content. This enables the attacker to steal credentials, deface content, or distribute malware through the compromised site.

Affected Systems

The vulnerability affects all installations of the Dark Mode – Improve Accessibility with AI Powered Dark Theme plugin up to and including version 5.3.17. Any WordPress site that has installed this plugin in those versions is potentially impacted.

Risk and Exploitability

The CVSS score is 6.4, indicating a moderate severity. The EPSS score is 0.00156 and the vulnerability is not listed in CISA's KEV catalog, so there is no public evidence of widespread exploitation. Attackers need site administrator or contributor privileges and the ability to edit content that includes the targeted shortcode. Once the scripts are stored, they execute automatically for all users who view the affected page, providing a persistent cross‑site scripting channel.

Generated by OpenCVE AI on October 16, 2026 at 15:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Dark Mode – Improve Accessibility with AI Powered Dark Theme plugin to version 5.3.18 or newer.
  • If an update is not immediately possible, disable or uninstall the Dark Mode plugin until the patch can be applied.
  • Restrict Contributor role permissions so that contributors cannot edit content that includes the vulnerable shortcode or monitor content for suspicious raw attributes.

Generated by OpenCVE AI on October 16, 2026 at 15:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 04:00:00 +0000

Type Values Removed Values Added
Description 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.
Title WP Dark Mode – Improve Accessibility with AI Powered Dark Theme <= 5.3.17 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'icon_light' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T14:39:06.770Z

Reserved: 2026-09-18T09:04:35.495Z

Link: CVE-2026-93535

cve-icon Vulnrichment

Updated: 2026-10-16T14:35:04.835Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T04:18:41.860

Modified: 2026-10-16T15:17:36.073

Link: CVE-2026-93535

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T16:00:12Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')