What the vulnerability does
01Description
Authenticated (admin user role) Persistent Cross-Site Scripting (XSS) in Mark Daniels Night Mode plugin <= 1.0.0 on WordPress via vulnerable parameters: &ntmode_page_setting[enable-me], &ntmode_page_setting[bg-color], &ntmode_page_setting[txt-color], &ntmode_page_setting[anc_color].
Explanation of Vulnerability in Simple Terms
02Summary
The Night Mode WordPress plugin version 1.0.0 contains a stored cross-site scripting (XSS) vulnerability. An authenticated administrator can inject malicious JavaScript that executes in the browsers of other site users. The vulnerability requires an admin to intentionally craft a malicious input, and the injected code runs with the privileges of the user viewing the affected page.
What an attacker can do
03Attacker Capabilities
Inject JavaScript that runs in other users' browsers when they view the site.
Potential impact on your site
04Site Impact
A compromised admin account can inject malicious scripts affecting all site visitors, potentially stealing credentials or redirecting users.
Conditions required to exploit
05Prerequisites
Administrator account access and user interaction (victim must visit an affected page).
Key dates
06Disclosure timeline
April 25, 2022
CVE published
April 28, 2026
Record updated