Code InjectionWeakness · CWE-94

CVE-2024-12471

HIGH · 8.8 CVSS v3.1 Published 2025-01-07
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
94/100
Remediation priority · Urgent
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator plugin for WordPress is vulnerable to arbitrary files uploads due to a missing capability check and file type validation on the add_image_to_library AJAX action function in all versions up to, and including, 1.3.1. This makes it possible for authenticated attackers, with subscriber-level access and above, to upload arbitrary files that make remote code execution possible.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Post Saint WordPress plugin fails to verify user capabilities and validate file types in the add_image_to_library AJAX function, allowing authenticated subscribers to upload arbitrary files including executable code that can be used for remote code execution.

MitigationUpdate the plugin to version 1.3.2 or later which includes proper capability checks and file type validation. If immediate update is not possible, disable the plugin until a patch can be applied.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify Post Saint plugin is installed
    Navigate to WordPress admin > Plugins and check if 'Post Saint' appears in the list of installed plugins
    Affected if Post Saint plugin is present in the plugins list
  2. Check installed plugin version
    In WordPress admin > Plugins, find Post Saint and note the version number displayed beneath the plugin name
    Affected if Version is lower than 1.3.2 or the version cannot be determined (plugin may be outdated)
  3. Inspect AJAX endpoint registration
    Access the WordPress site via FTP or file manager and locate the Post Saint plugin files (typically in /wp-content/plugins/post-saint/). Examine the main plugin PHP file for the add_image_to_library AJAX action hook registration using add_action('wp_ajax_add_image_to_library', ...)
    Affected if The add_image_to_library AJAX action is registered in the plugin code
  4. Verify subscriber role access to AJAX action
    Examine the plugin code to determine if the add_image_to_library AJAX callback includes a capability check (such as current_user_can('upload_files') or similar) before processing the upload
    Affected if No capability check is performed before processing the file upload, allowing any authenticated user including subscribers to access the function
  5. Check for file type validation
    Review the add_image_to_library function code to see if it validates file types (mime type checking, extension allowlist, or WordPress media handling) before saving uploaded files
    Affected if No file type or extension validation is performed on uploaded files, allowing arbitrary file types including executable code

A user is affected if the Post Saint plugin is installed with a version lower than 1.3.2 and the add_image_to_library AJAX function is accessible without proper capability checks or file validation.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Update the plugin to version 1.3.2 or later which includes proper capability checks and file type validation. If immediate update is not possible, disable the plugin until a patch can be applied.

Recommended fix Moderate confidence

1.3.2

  1. Log in to the WordPress admin dashboard
  2. Navigate to Plugins > Installed Plugins
  3. Find the 'Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator' plugin
  4. Click 'Update now' if an update is available, or manually download and install version 1.3.2 or later from the WordPress plugin repository
  5. After updating, verify the plugin is running at version 1.3.2 or higher

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA1.0 h
9.0 hours of engineering $1,600
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-12471 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-12471 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data