Skip to content

CVE-2021-4418 Custom CSS, JS & PHP <= 2.0.7 - Cross-Site Request Forgery Bypass

MediumCVSS 4.3 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPWordPress

Description

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
flippercode Custom css-js-php <= 2.0.7 after 2.0.7 Fixed
wordpress custom-css-js-php(WordPress) <= 2.0.7 after 2.0.7 Fixed
WPFactory Custom CSS, JS & PHP <= 2.0.7 after 2.0.7 Fixed

Affected products

ProductAffected versionsFixed in
WPFactory Custom CSS, JS & PHP <= 2.0.7 No fix listed
flippercode Custom css-js-php <= 2.0.7 No fix listed
wordpress custom-css-js-php(WordPress) <= 2.0.7 No fix listed

References