CVE-2026-9731
Description
The Wp Js Detect plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.9. This is due to missing or incorrect nonce validation on the plugin_settings function. This makes it possible for unauthenticated attackers to update the plugin's notification text and CSS settings (wp_non_js_notification_text and wp_non_js_notification_css), injecting arbitrary content that is echoed unescaped on the frontend via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Affected WordPress components
-
wp-js-detect Plugin · wp-js-detectUp to and including 1.0.9View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- wpkuf Wp Js Detect — Up to and including 1.0.9
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-js-detect/trunk/wp-js-detect.php#L190
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-js-detect/trunk/wp-js-detect.php#L192
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-js-detect/trunk/wp-js-detect.php#L193
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-js-detect/trunk/wp-js-detect.php#L250
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/afca7b14-f3bb-4612-b81c-bde120b380ba?source=cve
- nvd.nist.gov Official NVD record