Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-12113 Overview
CVE-2025-12113 affects the Alt Text Generator AI – Auto Generate & Bulk Update Alt Texts For Images plugin for WordPress. The vulnerability exists in all versions up to and including 1.8.3. The atgai_delete_api_key() function lacks a capability check, allowing any authenticated user with Subscriber-level access or higher to delete the API key tied to the plugin. The issue is classified as Missing Authorization [CWE-862].
Critical Impact
Low-privileged authenticated users can remove the plugin's configured API key, disrupting automated alt-text generation and causing operational data loss for affected sites.
Affected Products
- Alt Text Generator AI – Auto Generate & Bulk Update Alt Texts For Images (WordPress plugin)
- Versions 1.8.3 and earlier
- WordPress sites allowing Subscriber-level registration
Discovery Timeline
- 2025-11-12 - CVE-2025-12113 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-12113
Vulnerability Analysis
The flaw resides in the atgai_delete_api_key() function exposed by the plugin. The function processes requests to delete the stored third-party API key used for AI-driven alt-text generation but does not verify the requester's WordPress capability. Any logged-in account, including a basic Subscriber, can invoke the endpoint and remove the key.
Deletion of the API key breaks the plugin's integration with its upstream AI service. Site administrators lose automation until they manually restore the key, and bulk alt-text workflows stop functioning. The vulnerability does not expose confidential data or allow code execution, limiting the impact to integrity of plugin configuration.
Root Cause
The root cause is a missing authorization check [CWE-862]. The AJAX or admin-post handler bound to atgai_delete_api_key() omits a current_user_can() guard and does not validate nonces against a privileged capability. WordPress treats the request as valid because the user is authenticated, and the plugin performs the destructive action without further checks.
Attack Vector
Exploitation requires network access to the WordPress site and a valid Subscriber-or-higher account. On sites with open user registration, an attacker can self-provision an account and immediately call the vulnerable endpoint. The request is a standard authenticated HTTP POST to the plugin's handler. No user interaction from an administrator is required.
Technical details are available in the Wordfence Vulnerability Report and the WordPress Plugin Change Log.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2025-12113
Indicators of Compromise
- Unexpected emptying or resetting of the Alt Text Generator AI plugin's API key field in wp_options.
- HTTP POST requests to admin-ajax.php or admin-post endpoints referencing the atgai_delete_api_key action originating from low-privileged user sessions.
- Plugin logs or error notices indicating failed AI alt-text generation after an unexplained configuration change.
Detection Strategies
- Audit WordPress access logs for requests invoking the atgai_delete_api_key action tied to non-administrator user IDs.
- Monitor the wp_options table for state changes to the plugin's API key option entry.
- Review newly registered Subscriber accounts that interact with plugin-specific admin endpoints shortly after registration.
Monitoring Recommendations
- Enable WordPress audit logging to capture AJAX actions and user capability context.
- Alert on any option modifications affecting plugin credentials or third-party API keys.
- Baseline normal plugin configuration activity and flag deviations originating from non-admin roles.
How to Mitigate CVE-2025-12113
Immediate Actions Required
- Update the Alt Text Generator AI plugin to a version newer than 1.8.3 once the vendor publishes a patched release.
- Disable the plugin on sites that cannot be updated and that allow Subscriber-level registration.
- Rotate any API keys that may have been deleted or disclosed through configuration tampering.
Patch Information
Refer to the WordPress Plugin Change Log for the vendor's fix tracking the addition of a capability check to atgai_delete_api_key(). Administrators should confirm the installed version is beyond 1.8.3 after upgrading.
Workarounds
- Disable open user registration under Settings → General until the plugin is updated.
- Remove the Subscriber role from untrusted users or restrict role assignment via an access control plugin.
- Place the WordPress admin surface behind a Web Application Firewall rule that blocks the atgai_delete_api_key action for non-administrator sessions.
# Configuration example: block the vulnerable action for non-admins via WAF rule (pseudocode)
if request.uri contains "admin-ajax.php" and request.body contains "action=atgai_delete_api_key" \
and user.role != "administrator":
deny 403
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

