{"id":"CVE-2024-13895","aliases":["EUVD-2024-54192","GHSA-4q5p-m3hx-89cr"],"status":"published","title":"Code Snippets CPT \u003c= 2.1.0 - Authenticated (Subscriber+) Arbitrary Shortcode Execution","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.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00288,"percentile":0.21552,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-94"],"published":"2025-03-08T02:24:04Z","modified":"2026-06-17T07:02:56Z","products":[{"vendor":"jtsternberg","product":"code snippets cpt"},{"vendor":"jtsternberg","product":"code_snippets_cpt"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/65f521f4-1968-4c43-a3f0-b0f81632d7aa?source=cve","tags":["Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/code-snippets-cpt/trunk/lib/CodeSnippitButton.php#L201","tags":["Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-13895"},{"url":"https://github.com/advisories/GHSA-4q5p-m3hx-89cr"}],"sources":{"cve":[{"id":"CVE-2024-13895","title":"Code Snippets CPT \u003c= 2.1.0 - Authenticated (Subscriber+) Arbitrary Shortcode Execution","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.","status":"published","published":"2025-03-08T02:24:04.601Z","modified":"2026-04-08T16:57:55.731Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:34:13.64024Z"}],"euvd":[{"id":"EUVD-2024-54192","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.","status":"published","published":"2025-03-08T02:24:04Z","modified":"2026-04-08T16:57:55Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:55.662835Z"}],"ghsa":[{"id":"GHSA-4q5p-m3hx-89cr","title":"The The Code Snippets CPT plugin for WordPress is vulnerable to arbitrary shortcode execution in...","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.","status":"published","published":"2025-03-08T03:30:50Z","modified":"2025-03-08T03:30:55Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:00:11.427911Z"}],"nvd":[{"id":"CVE-2024-13895","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.","status":"published","published":"2025-03-08T03:15:37.073Z","modified":"2026-06-17T07:02:56.55Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:10:45.422466Z"}]}}
