CVE-2022-29418 WordPress Night Mode plugin <= 1.0.0 - Authenticated Persistent Cross-Site Scripting (XSS) vulnerability
An authenticated admin can inject persistent scripts via plugin settings, potentially executing code in other users' browsers.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-29418?
CVE-2022-29418 is a medium-severity cross-site scripting vulnerability in Mark Daniels Night Mode (WordPress plugin), published on 25 Apr 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
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].
Weakness: CWE-79
Which versions are affected by CVE-2022-29418?
It affects 1 product.
Products include Night Mode Project Night Mode.
How do I fix CVE-2022-29418?
No fix has been published for CVE-2022-29418 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-29418 being exploited?
There is no known exploitation of CVE-2022-29418 in the wild and no public exploit code.
Sources
Also known as GHSA-fpw5-qfqj-36gq.