WordPress security changelog
CRITICAL CVE-2025-39601 Deferred

Custom CSS, JS & PHP: Code execution

Custom CSS, JS & PHP is affected by code execution. Exposure depends on how the affected operation is made reachable by the site. Successful exploitation can run attacker-controlled code in the WordPress hosting account.

CVE / CNA score 9.6 CVSS 3.1 · audit@patchstack.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Custom CSS, JS & PHP
Plugin slug
custom-css
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Apr 16, 2025
Weakness
CWE-352 — Cross-Site Request Forgery (CSRF)

This CVE was published Apr 16, 2025 and is one of 2 known issues for this plugin.

Update, patch or deactivate.

Update Custom CSS, JS & PHP to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

Cross-Site Request Forgery (CSRF) vulnerability in WPFactory Custom CSS, JS & PHP custom-css allows Remote Code Inclusion.This issue affects Custom CSS, JS & PHP: from n/a through <= 2.4.1.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Primary and upstream sources