Skip to content
OpenAdvisories
Medium · 6.4 CVE-2026-1886 EUVD-2026-13987GHSA-74vj-5878-6g9m

Go Night Pro | WordPress Dark Mode Plugin <= 1.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'margin' Shortcode Attribute

Published Mar 21, 2026 · Updated Apr 8, 2026 · Assigned by Wordfence

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.

Affected products

VendorProductAffectedFixed
hrs2015 Go Night Pro | WordPress Dark Mode Plugin ≤ 1.1.0 —

References