CVE-2025-30975 WordPress Add Custom Codes <= 4.80 - Arbitrary Code Execution vulnerability
Attackers can inject arbitrary code into the Add Custom Codes WordPress plugin, leading to remote code execution on the hosting server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-30975?
CVE-2025-30975 is a high-severity code injection vulnerability in SaifuMak Add Custom Codes, published on 20 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2025-30975?
How do I fix CVE-2025-30975?
No fix has been published for CVE-2025-30975 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-30975 being exploited?
There is no known exploitation of CVE-2025-30975 in the wild and no public exploit code.
Sources
Also known as GHSA-29cf-7968-4gr3.