{"id":"CVE-2026-1886","aliases":["EUVD-2026-13987","GHSA-74vj-5878-6g9m"],"status":"published","title":"Go Night Pro | WordPress Dark Mode Plugin \u003c= 1.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'margin' Shortcode Attribute","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.","severity":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00258,"percentile":0.17617,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2026-03-21T03:26:44Z","modified":"2026-06-17T10:16:39Z","products":[{"vendor":"hrs2015","product":"go night pro | wordpress dark mode plugin"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/4a75444e-b1e4-41e0-9209-07ded65c1498?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/go-night-pro/trunk/admin/partials/shortcode/go-night-shortcode-display.php#L48"},{"url":"https://plugins.trac.wordpress.org/browser/go-night-pro/tags/1.1.0/admin/partials/shortcode/go-night-shortcode-display.php#L48"},{"url":"https://plugins.trac.wordpress.org/browser/go-night-pro/trunk/admin/partials/shortcode/go-night-shortcode-display.php#L61"},{"url":"https://plugins.trac.wordpress.org/browser/go-night-pro/tags/1.1.0/admin/partials/shortcode/go-night-shortcode-display.php#L61"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1886"},{"url":"https://github.com/advisories/GHSA-74vj-5878-6g9m"}],"sources":{"cve":[{"id":"CVE-2026-1886","title":"Go Night Pro | WordPress Dark Mode Plugin \u003c= 1.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'margin' Shortcode Attribute","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.","status":"published","published":"2026-03-21T03:26:44.759Z","modified":"2026-04-08T16:50:44.095Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:20:01.618694Z"}],"euvd":[{"id":"EUVD-2026-13987","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.","status":"published","published":"2026-03-21T03:26:44Z","modified":"2026-04-08T16:50:44Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:59.89217Z"}],"ghsa":[{"id":"GHSA-74vj-5878-6g9m","title":"The Go Night Pro | WordPress Dark Mode Plugin for WordPress is vulnerable to Stored Cross-Site...","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.","status":"published","published":"2026-03-21T06:30:24Z","modified":"2026-03-21T06:30:34Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:06:45.356317Z"}],"nvd":[{"id":"CVE-2026-1886","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.","status":"published","published":"2026-03-21T04:16:55.523Z","modified":"2026-06-17T10:16:39.93Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:12:10.126802Z"}]}}
