CVE-2025-0428·PHP vulnerability
The "AI Power: Complete AI Pack" plugin for WordPress is vulnerable to PHP Object Injection in versions up to, and including, 1.8.96 via deserialization of untrusted input from the $form['post_content'] variable through the wpaicg_export_prompts function. This allows authenticated attackers, with administrative privileges, to inject a PHP Object. No POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.
- Severity
- high
- Software
- PHP
- Fixed in
- 1.8.97
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.64% — higher than 47% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2025-0428 scores 7.2 on CVSS, so a successful attack would be serious — but at 0.64%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
Until: 1.8.97
Fixed in: 1.8.97
How to fix this CVE
Update the 'AI Power: Complete AI Pack' WordPress plugin to version 1.8.97 or later to patch the PHP Object Injection vulnerability. This vulnerability affects authenticated administrators and requires immediate patching, especially if additional plugins or themes with POP chains are installed on your WordPress site. Verify the update through your WordPress admin dashboard or via command line if managing updates programmatically.
sudo dnf update phpDefensia detects this vulnerability
WAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement strict input validation on form submissions targeting the wpaicg_export_prompts endpoint; block POST requests containing serialized PHP object patterns (e.g., 'O:' followed by numeric class length). Restrict administrative access to the export functionality via IP allowlisting or additional authentication factors.How to check if you are affected
- Step 1: Check installed PHP version with: php -v
- Step 2: Verify the 'AI Power: Complete AI Pack' plugin version in WordPress admin > Plugins, or via SSH with: grep 'Version:' /path/to/wp-content/plugins/ai-power-complete-ai-pack/ai-power.php | head -1
- Step 3: Search WordPress error logs for deserialization warnings or unserialize() function calls: grep -r 'unserialize\|wpaicg_export_prompts' /var/www/html/wp-content/plugins/ai-power* /var/log/php-errors.log 2>/dev/null
- Step 4: Confirm plugin update by checking version again and comparing against 1.8.97: if version is 1.8.97 or higher, the fix is applied
FAQ
What is CVE-2025-0428?
CVE-2025-0428 is a PHP Object Injection vulnerability in the 'AI Power: Complete AI Pack' WordPress plugin versions up to 1.8.96, occurring when the wpaicg_export_prompts function deserializes untrusted user input. While the plugin itself contains no POP chain, attackers with admin privileges could inject malicious objects that execute arbitrary code if complementary plugins or themes provide gadget chains.
Is CVE-2025-0428 being actively exploited?
No, CVE-2025-0428 is not currently listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are available, though this does not eliminate the security risk of remediation.
What versions of the 'AI Power: Complete AI Pack' plugin are affected by CVE-2025-0428?
All versions up to and including 1.8.96 are affected. Version 1.8.97 and later contain the fix.
How do I check if my WordPress site is vulnerable to CVE-2025-0428?
Navigate to WordPress admin > Plugins and locate 'AI Power: Complete AI Pack'; if the version displayed is 1.8.96 or lower, your site is vulnerable. Alternatively, run: grep -A 1 'Plugin Name: AI Power' /path/to/wp-content/plugins/*/ai-power.php | grep Version
Does Defensia detect CVE-2025-0428?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP is installed on a monitored server, CVE-2025-0428 will appear in your dashboard with remediation steps.
Related PHP CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-0428. Free for 1 server.
Get started free