CVE-2024-12471: CWE-94 Improper Control of Generation of Code ('Code Injection') in postsaint Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator
CVE-2024-12471 is a high-severity vulnerability in the Post Saint AI Text & Image Generator WordPress plugin that allows authenticated users with subscriber-level access or higher to upload arbitrary files due to missing capability checks and file type validation. This flaw enables remote code execution (RCE) on affected WordPress sites, potentially compromising confidentiality, integrity, and availability. The vulnerability affects all versions up to and including 1. 3. 1. Exploitation requires authentication but no user interaction beyond login, and the attack surface includes any WordPress site using this plugin. No known exploits are currently reported in the wild, but the ease of exploitation and impact severity make this a critical risk for organizations using this plugin. Immediate patching or mitigation is recommended to prevent potential compromise.
AI Analysis
Technical Summary
CVE-2024-12471 is a code injection vulnerability classified under CWE-94 affecting the Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator plugin for WordPress. The vulnerability arises from a missing capability check and lack of file type validation in the add_image_to_library AJAX action function. This flaw allows authenticated attackers with subscriber-level permissions or higher to upload arbitrary files, including potentially malicious scripts, to the server. Because the plugin does not properly restrict or validate the uploaded content, attackers can leverage this to execute remote code on the hosting server, leading to full system compromise. The vulnerability affects all plugin versions up to 1.3.1. The CVSS v3.1 score is 8.8, reflecting high impact on confidentiality, integrity, and availability, with network attack vector, low attack complexity, and requiring only low privileges without user interaction. Although no public exploits are currently known, the vulnerability's nature and ease of exploitation make it a significant threat to WordPress sites using this plugin. The lack of patch links suggests that a fix may not yet be available, emphasizing the need for immediate mitigation steps.
Potential Impact
The vulnerability enables attackers to upload arbitrary files and execute remote code on affected WordPress servers, potentially leading to full system compromise. This can result in unauthorized data access or exfiltration, defacement or destruction of website content, deployment of malware or ransomware, and use of compromised servers as pivot points for further attacks within organizational networks. Given WordPress's widespread use, organizations relying on this plugin face risks of service disruption, reputational damage, and regulatory non-compliance due to data breaches. The requirement for only subscriber-level authentication lowers the barrier for exploitation, increasing the likelihood of insider threats or compromised low-privilege accounts being leveraged. The absence of user interaction and low attack complexity further exacerbate the threat, making automated or scripted attacks feasible. Organizations with public-facing WordPress sites using this plugin are particularly vulnerable to external attackers gaining foothold and escalating privileges.
Mitigation Recommendations
Until an official patch is released, organizations should immediately restrict access to the plugin by disabling or uninstalling it if feasible. Review and tighten user role permissions to limit subscriber-level accounts and monitor for suspicious login activity. Implement web application firewall (WAF) rules to detect and block attempts to access the add_image_to_library AJAX endpoint or upload suspicious file types. Conduct thorough file integrity monitoring on upload directories to detect unauthorized file additions. Employ network segmentation to isolate WordPress servers from critical internal systems. Regularly audit installed plugins and remove unused or untrusted ones. Monitor logs for anomalous activity related to file uploads or code execution attempts. Once a patch becomes available, prioritize prompt application and verify the fix through testing. Additionally, consider deploying runtime application self-protection (RASP) solutions to detect and prevent exploitation attempts in real time.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Japan, Netherlands, Italy, Spain
CVE-2024-12471: CWE-94 Improper Control of Generation of Code ('Code Injection') in postsaint Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator
Description
CVE-2024-12471 is a high-severity vulnerability in the Post Saint AI Text & Image Generator WordPress plugin that allows authenticated users with subscriber-level access or higher to upload arbitrary files due to missing capability checks and file type validation. This flaw enables remote code execution (RCE) on affected WordPress sites, potentially compromising confidentiality, integrity, and availability. The vulnerability affects all versions up to and including 1. 3. 1. Exploitation requires authentication but no user interaction beyond login, and the attack surface includes any WordPress site using this plugin. No known exploits are currently reported in the wild, but the ease of exploitation and impact severity make this a critical risk for organizations using this plugin. Immediate patching or mitigation is recommended to prevent potential compromise.
AI-Powered Analysis
Technical Analysis
CVE-2024-12471 is a code injection vulnerability classified under CWE-94 affecting the Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator plugin for WordPress. The vulnerability arises from a missing capability check and lack of file type validation in the add_image_to_library AJAX action function. This flaw allows authenticated attackers with subscriber-level permissions or higher to upload arbitrary files, including potentially malicious scripts, to the server. Because the plugin does not properly restrict or validate the uploaded content, attackers can leverage this to execute remote code on the hosting server, leading to full system compromise. The vulnerability affects all plugin versions up to 1.3.1. The CVSS v3.1 score is 8.8, reflecting high impact on confidentiality, integrity, and availability, with network attack vector, low attack complexity, and requiring only low privileges without user interaction. Although no public exploits are currently known, the vulnerability's nature and ease of exploitation make it a significant threat to WordPress sites using this plugin. The lack of patch links suggests that a fix may not yet be available, emphasizing the need for immediate mitigation steps.
Potential Impact
The vulnerability enables attackers to upload arbitrary files and execute remote code on affected WordPress servers, potentially leading to full system compromise. This can result in unauthorized data access or exfiltration, defacement or destruction of website content, deployment of malware or ransomware, and use of compromised servers as pivot points for further attacks within organizational networks. Given WordPress's widespread use, organizations relying on this plugin face risks of service disruption, reputational damage, and regulatory non-compliance due to data breaches. The requirement for only subscriber-level authentication lowers the barrier for exploitation, increasing the likelihood of insider threats or compromised low-privilege accounts being leveraged. The absence of user interaction and low attack complexity further exacerbate the threat, making automated or scripted attacks feasible. Organizations with public-facing WordPress sites using this plugin are particularly vulnerable to external attackers gaining foothold and escalating privileges.
Mitigation Recommendations
Until an official patch is released, organizations should immediately restrict access to the plugin by disabling or uninstalling it if feasible. Review and tighten user role permissions to limit subscriber-level accounts and monitor for suspicious login activity. Implement web application firewall (WAF) rules to detect and block attempts to access the add_image_to_library AJAX endpoint or upload suspicious file types. Conduct thorough file integrity monitoring on upload directories to detect unauthorized file additions. Employ network segmentation to isolate WordPress servers from critical internal systems. Regularly audit installed plugins and remove unused or untrusted ones. Monitor logs for anomalous activity related to file uploads or code execution attempts. Once a patch becomes available, prioritize prompt application and verify the fix through testing. Additionally, consider deploying runtime application self-protection (RASP) solutions to detect and prevent exploitation attempts in real time.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-10T22:42:05.511Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e3eb7ef31ef0b59b89a
Added to database: 2/25/2026, 9:48:46 PM
Last enriched: 2/26/2026, 3:40:45 AM
Last updated: 2/26/2026, 11:19:37 AM
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-64999: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Checkmk GmbH Checkmk
HighCVE-2026-28138: Deserialization of Untrusted Data in Stylemix uListing
HighCVE-2026-28136: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in VeronaLabs WP SMS
HighCVE-2026-28132: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in villatheme WooCommerce Photo Reviews
HighCVE-2026-28131: Insertion of Sensitive Information Into Sent Data in WPVibes Elementor Addon Elements
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.