CVE-2025-30975

WordPress Add Custom Codes <= 4.80 - Arbitrary Code Execution vulnerability

Published Aug 20, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Improper Control of Generation of Code ('Code Injection') vulnerability in SaifuMak Add Custom Codes add-custom-codes allows Code Injection.This issue affects Add Custom Codes: from n/a through <= 4.80.

Analysis

AI-generated

Technical impact

The Add Custom Codes plugin for WordPress contains an Improper Control of Generation of Code vulnerability that allows an attacker to inject PHP code, thereby executing arbitrary instructions on the hosting server. By exploiting improperly validated input fields exposed by the plugin, a malicious actor can deploy new code, modify existing files, or elevate privileges, potentially compromising the entire WordPress installation and the underlying operating system.

Affected Systems

All installations of the SaifuMak Add Custom Codes plugin from the earliest release up to and including version 4.80 are affected. The vulnerability does not depend on additional hardware or platform constraints, meaning every WordPress site that has the vulnerable plugin active is at risk regardless of the server environment.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity level, while the EPSS score of less than 1% denotes a currently low likelihood of exploitation. The flaw is not listed in CISA’s KEV catalog. The attack vector is remote; the attacker must supply malicious payloads through the plugin’s web interface, but the exact access requirements are not specified. Successful exploitation provides remote code execution and full control over the affected site.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the SaifuMak Add Custom Codes plugin to a version newer than 4.80, or apply the latest release that resolves the code injection issue.
  • If a patch cannot be applied immediately, disable or uninstall the plugin to remove the vulnerable code path.
  • Restrict access to the plugin’s administrative area by whitelisting trusted IP addresses or requiring additional authentication methods.
  • Implement web application firewall rules that detect and block suspicious payloads targeting the plugin’s parameters.

Generated by OpenCVE AI on May 2, 2026 at 01:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-25299 Improper Control of Generation of Code ('Code Injection') vulnerability in SaifuMak Add Custom Codes allows Code Injection. This issue affects Add Custom Codes: from n/a through 4.80.
History
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description Improper Control of Generation of Code ('Code Injection') vulnerability in SaifuMak Add Custom Codes allows Code Injection. This issue affects Add Custom Codes: from n/a through 4.80. Improper Control of Generation of Code ('Code Injection') vulnerability in SaifuMak Add Custom Codes add-custom-codes allows Code Injection.This issue affects Add Custom Codes: from n/a through <= 4.80.
Title WordPress Add Custom Codes <= 4.80 - Arbitrary Code Execution Vulnerability WordPress Add Custom Codes <= 4.80 - Arbitrary Code Execution vulnerability
References
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
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 Improper Control of Generation of Code ('Code Injection') vulnerability in SaifuMak Add Custom Codes allows Code Injection. This issue affects Add Custom Codes: from n/a through 4.80.
Title WordPress Add Custom Codes <= 4.80 - Arbitrary Code Execution Vulnerability
Weaknesses CWE-94
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:12 PM
Reserved
Mar 26, 2025, 9:22 AM
Status
Deferred
Published
Aug 20, 2025, 8:15 AM
Modified
Jun 17, 2026, 9:09 AM