# CVE-2022-29418: WordPress Night Mode plugin <= 1.0.0 - Authenticated Persistent Cross-Site Scripting (XSS) vulnerability

- Severity: Medium 4.8 (CVSS:3.1, scored by Patchstack) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2022-04-25T16:53:20.761Z
- Modified: 2026-06-17T04:40:08.620Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Patchstack

## 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].

(As written by CVE List.)

## Affected

- Mark Daniels Night Mode (WordPress plugin): from <= 1.0.0 up to 1.0.0
- night_mode_project night_mode: up to 1.0.0

## Every score

- Patchstack: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://wordpress.org/plugins/night-mode/#developers> (vendor-advisory)
- <https://patchstack.com/database/vulnerability/night-mode/wordpress-night-mode-plugin-1-0-0-authenticated-persistent-cross-site-scripting-xss-vulnerability> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-29418](https://www.cve.org/CVERecord?id=CVE-2022-29418), CVE Terms of Use, modified 2026-04-28
- NVD: [CVE-2022-29418](https://nvd.nist.gov/vuln/detail/CVE-2022-29418), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29418 · Whole record: https://cve.day/CVE-2022-29418.json · Rebuilt by cve.day 2026-11-25T22:58:11.240Z
