CVE-2024-11002: CWE-94 Improper Control of Generation of Code ('Code Injection') in realmag777 InPost Gallery
The The InPost Gallery plugin for WordPress is vulnerable to arbitrary shortcode execution via the inpost_gallery_get_shortcode_template AJAX action in all versions up to, and including, 2.1.4.2. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes.
AI Analysis
Technical Summary
CVE-2024-11002 is a code injection vulnerability in the InPost Gallery WordPress plugin (versions up to 2.1.4.2) caused by improper validation of user input in the inpost_gallery_get_shortcode_template AJAX action. Authenticated users with at least Subscriber privileges can exploit this flaw to execute arbitrary shortcodes via the do_shortcode function, potentially impacting confidentiality, integrity, and availability. The CVSS 3.1 base score is 6.3 (medium severity) with network attack vector, low attack complexity, and requiring privileges. No patch or official fix has been disclosed yet.
Potential Impact
Successful exploitation allows authenticated users with Subscriber-level access or higher to execute arbitrary shortcodes, which can lead to limited confidentiality, integrity, and availability impacts within the WordPress environment. This could enable unauthorized actions or code execution within the context of the plugin, but requires at least low-level authenticated access.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict user roles and permissions to trusted users only and consider disabling or removing the InPost Gallery plugin if possible to reduce risk.
CVE-2024-11002: CWE-94 Improper Control of Generation of Code ('Code Injection') in realmag777 InPost Gallery
Description
The The InPost Gallery plugin for WordPress is vulnerable to arbitrary shortcode execution via the inpost_gallery_get_shortcode_template AJAX action in all versions up to, and including, 2.1.4.2. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-11002 is a code injection vulnerability in the InPost Gallery WordPress plugin (versions up to 2.1.4.2) caused by improper validation of user input in the inpost_gallery_get_shortcode_template AJAX action. Authenticated users with at least Subscriber privileges can exploit this flaw to execute arbitrary shortcodes via the do_shortcode function, potentially impacting confidentiality, integrity, and availability. The CVSS 3.1 base score is 6.3 (medium severity) with network attack vector, low attack complexity, and requiring privileges. No patch or official fix has been disclosed yet.
Potential Impact
Successful exploitation allows authenticated users with Subscriber-level access or higher to execute arbitrary shortcodes, which can lead to limited confidentiality, integrity, and availability impacts within the WordPress environment. This could enable unauthorized actions or code execution within the context of the plugin, but requires at least low-level authenticated access.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict user roles and permissions to trusted users only and consider disabling or removing the InPost Gallery plugin if possible to reduce risk.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-11-07T21:08:04.588Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e04b7ef31ef0b5939ca
Added to database: 2/25/2026, 9:47:48 PM
Last enriched: 4/9/2026, 12:09:31 PM
Last updated: 4/12/2026, 11:41:27 AM
Views: 17
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.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.