Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.4

Go Night Pro Plugin for WordPress allows attackers to inject malicious scripts

CVE-2026-1886
Summary

The Go Night Pro plugin for WordPress has a security weakness that lets attackers inject malicious code into web pages. This could allow them to take control of a website and steal sensitive information or disrupt normal functioning. Update the plugin to the latest version to fix this issue.

Original title
The Go Night Pro | WordPress Dark Mode Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'go-night-pro-shortcode' shortcode in all versions up to, and including, 1....
Original description
The Go Night Pro | WordPress Dark Mode Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'go-night-pro-shortcode' shortcode in all versions up to, and including, 1.1.0 due to insufficient input sanitization and output escaping on the user-supplied 'margin' attribute. 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.
nvd CVSS3.1 6.4
Vulnerability type
CWE-79 Cross-site Scripting (XSS)
Published: 21 Mar 2026 · Updated: 21 Mar 2026 · First seen: 21 Mar 2026