Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-13895 EUVD-2024-54192GHSA-4q5p-m3hx-89cr

Code Snippets CPT <= 2.1.0 - Authenticated (Subscriber+) Arbitrary Shortcode Execution

Published Mar 8, 2025 · Updated Apr 8, 2026 · Assigned by Wordfence

Description

The The Code Snippets CPT plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.1.0. 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.

Affected products

VendorProductAffectedFixed
jtsternberg Code Snippets CPT ≤ 2.1.0 —

References