CVE-2023-5940
WordPress vulnerability analysis and mitigation

Overview

The WP Not Login Hide (WPNLH) WordPress plugin through version 1.0 contains a stored Cross-Site Scripting (XSS) vulnerability. The plugin fails to properly sanitize and escape some of its settings, which enables high-privilege users like administrators to perform Stored XSS attacks even when the unfiltered_html capability is disabled, such as in multisite setups. This vulnerability was assigned CVE-2023-5940 and was publicly disclosed on November 14, 2023 (WPScan).

Technical details

The vulnerability exists due to improper input validation in the plugin's settings page. Specifically, the "Warning Message" setting field does not properly sanitize or escape user input. The vulnerability has been assigned a CVSS v3.1 base score of 4.8 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N. The issue is classified as CWE-79: Improper Neutralization of Input During Web Page Generation (NVD).

Impact

When exploited, this vulnerability allows authenticated administrators to store malicious JavaScript code in the plugin's settings. This stored XSS payload will then be executed whenever any authenticated user visits the settings page. The impact is particularly concerning in multisite WordPress installations where the unfiltered_html capability is typically disabled as a security measure (WPScan).

Mitigation and workarounds

As of the vulnerability disclosure, there is no known fix available for this issue. Users of the WP Not Login Hide plugin should consider either removing the plugin or implementing additional security controls to restrict access to the plugin's settings page (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-0726HIGH8.1
  • nexter-extension
NoYesJan 20, 2026
CVE-2026-0690MEDIUM6.4
  • flatpm-wp
NoYesJan 20, 2026
CVE-2026-0608MEDIUM6.4
  • head-meta-data
NoYesJan 20, 2026
CVE-2026-0548MEDIUM5.4
  • tutor
NoYesJan 20, 2026
CVE-2026-0554MEDIUM4.3
  • notificationx
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management