Custom CSS, JS & PHP <= 2.4.1 - Cross-Site Request Forgery to Remote Code Exectuiron

2025-04-16 00:00
Nguyen Xuan Chien

Strategic Overview

Status
Patched in 2.4.2
Affected PluginCustom CSS, JS & PHP
Affected Version<= 2.4.1
CVSS8.8High
CVECVE-2025-39601
View all Custom CSS, JS & PHP vulnerabilities

Vulnerability Overview

The Custom CSS, JS & PHP plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.4.1. This is due to missing or incorrect nonce validation on the save_options() function. This makes it possible for unauthenticated attackers to inject arbitrary code via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Technical Analysis

REMEDIATION: Update to version 2.4.2, or a newer patched version --- IDENTIFIER: CWE-352 (Cross-Site Request Forgery (CSRF)) The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C