Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/wp-js-detect/trunk/wp-js-detect.php#L
- https://plugins.trac.wordpress.org/browser/wp-js-detect/trunk/wp-js-detect.php#L
- https://plugins.trac.wordpress.org/browser/wp-js-detect/trunk/wp-js-detect.php#L
- https://plugins.trac.wordpress.org/browser/wp-js-detect/trunk/wp-js-detect.php#L
- https://www.wordfence.com/threat-intel/vulnerabilities/id/afca7b14-f3bb-4612-b81
FAQ
What is CVE-2026-9731?
CVE-2026-9731 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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_settin...
How severe is CVE-2026-9731?
CVE-2026-9731 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-9731?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.