# CVE-2024-11002: InPost Gallery <= 2.1.4.2 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via inpost_gallery_get_shortcode_template

- Severity: Medium 6.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-11-26T06:43:44.633Z
- Modified: 2026-06-17T06:56:51.697Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- realmag777 InPost Gallery: up to 2.1.4.2
- pluginus inpost_gallery: before 2.1.4.3

## References

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

## Sources

- CVE List: [CVE-2024-11002](https://www.cve.org/CVERecord?id=CVE-2024-11002), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-11002](https://nvd.nist.gov/vuln/detail/CVE-2024-11002), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-11002 · Whole record: https://cve.day/CVE-2024-11002.json · Rebuilt by cve.day 2026-11-25T22:58:49.441Z
