high CVSS 7.2

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
2025-01-22

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 php

Defensia 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

  1. Step 1: Check installed PHP version with: php -v
  2. 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
  3. 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
  4. 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

CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2026-28289CVSS 10FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. A patch bypass vulnerability for CVE-2026-27636 in FreeScout 1.8.206 and earlier allows any authenticated user with file upload permissions to achieve Remote Code Execution (RCE) on the server by uploading a malicious .htaccess file using a zero-width space character prefix to bypass the security check. The vulnerability exists in the sanitizeUploadedFileName() function in app/Http/Helper.php. The function contains a Time-of-Check to Time-of-Use (TOCTOU) flaw where the dot-prefix check occurs before sanitization removes invisible characters. This vulnerability is fixed in 1.8.207.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.

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