CVE-2021-4418: Custom CSS, JS & PHP <= 2.0.7 - Cross-Site Request Forgery Bypass
The Custom CSS, JS & PHP plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.0.7. This is due to missing or incorrect nonce validation on the save() function. This makes it possible for unauthenticated attackers to save code snippets via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID of this vulnerability?
The vulnerability ID is CVE-2021-4418.
What is the affected software?
The affected software is the Custom CSS, JS & PHP plugin for WordPress up to and including version 2.0.7.
What is the severity of CVE-2021-4418?
The severity of CVE-2021-4418 is medium (4.3).
What is the vulnerability description of CVE-2021-4418?
CVE-2021-4418 is a Cross-Site Request Forgery (CSRF) vulnerability in the Custom CSS, JS & PHP plugin for WordPress versions up to and including 2.0.7. It allows unauthenticated attackers to save code snippets via a forged request.
How can I fix CVE-2021-4418?
To fix CVE-2021-4418, you should update the Custom CSS, JS & PHP plugin for WordPress to the latest version available.