Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
VulnerabilityCVE-2024-12471cvecve-2024-12471cwe-94
Published: Tue Jan 07 2025 (01/07/2025, 05:23:57 UTC)
Source: CVE Database V5
Vendor/Project: postsaint
Product: 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

AILast updated: 02/26/2026, 03:40:45 UTC

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.

Need more detailed analysis?Upgrade to Pro Console

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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.

Latest Threats