CVE-2025-39601

WordPress Custom CSS, JS & PHP plugin <= 2.4.1 - CSRF to RCE vulnerability

Published Apr 16, 2025 CVSS 3.1 · 9.6 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The WPFactory Custom CSS, JS & PHP WordPress plugin contains a Cross‑Site Request Forgery flaw that allows an attacker to inject arbitrary PHP code through the custom‑css interface. A user who is already authenticated can be tricked into loading a crafted request, which results in remote code execution on the server, compromising confidentiality, integrity, and availability. The weakness is classified as CWE‑352.

Affected Systems

The vulnerability affects the Custom CSS, JS & PHP plugin for all releases from the earliest available version up to and including 2.4.1. No later releases are known to be affected and the fix is presumed to be included in versions released after 2.4.1.

Risk and Exploitability

The CVSS score of 9.6 indicates an extremely high severity, while the EPSS score of less than 1 % suggests a very low likelihood of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. Inference: the likely attack vector is a web‑based CSRF attack that requires an authenticated administrator to be logged in when a malicious link is followed, enabling the attacker to gain total control of the affected WordPress installation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Custom CSS, JS & PHP plugin to the latest available version that fixes the CSRF flaw.
  • If an upgrade cannot be performed immediately, uninstall or disable the plugin until a patched version is available.
  • Limit administrative access to the WordPress backend by assigning only necessary user roles, enforcing strong authentication, and, if possible, applying an additional CSRF protection plugin that introduces unique tokens into all administrative forms.

Generated by OpenCVE AI on May 1, 2026 at 10:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-11284 Cross-Site Request Forgery (CSRF) vulnerability in WPFactory Custom CSS, JS & PHP allows Remote Code Inclusion. This issue affects Custom CSS, JS & PHP: from n/a through 2.4.1.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in WPFactory Custom CSS, JS & PHP allows Remote Code Inclusion. This issue affects Custom CSS, JS & PHP: from n/a through 2.4.1. 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.
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in WPFactory Custom CSS, JS & PHP allows Remote Code Inclusion. This issue affects Custom CSS, JS & PHP: from n/a through 2.4.1.
Title WordPress Custom CSS, JS & PHP plugin <= 2.4.1 - CSRF to RCE vulnerability
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
May 12, 2026, 12:07 AM
Reserved
Apr 16, 2025, 6:27 AM
Status
Deferred
Published
Apr 16, 2025, 1:15 PM
Modified
Jun 17, 2026, 9:18 AM