CVE-2026-93535

WP Dark Mode – Improve Accessibility with AI Powered Dark Theme <= 5.3.17 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'icon_light' Shortcode Attribute

Published Oct 16, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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.

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 16, 2026, 2:39 PM
Reserved
Sep 18, 2026, 9:04 AM
Status
Deferred
Published
Oct 16, 2026, 4:18 AM
Modified
Oct 16, 2026, 3:17 PM