CVE-2024-13895
MEDIUM
6.3
CVSS 3.1
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 WordPress components
-
code-snippets-cpt Plugin · code-snippets-cptUp to and including 2.1.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- jtsternberg Code Snippets CPT — Up to and including 2.1.0
- jtsternberg code_snippets_cpt — Up to and including 2.1.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/code-snippets-cpt/trunk/lib/CodeSnippitButton.php#L201 Product
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/65f521f4-1968-4c43-a3f0-b0f81632d7aa?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record