CVE-2024-13895: Code Snippets CPT <= 2.1.0 - Authenticated (Subscriber+) Arbitrary Shortcode Execution

Published Mar 8, 2025
·
Updated

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 doshortcode. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes.

Affected Software

2 affected components
Code Snippets CPT<=2.1.0
Jtsternberg Code Snippets Cpt Wordpress<=2.1.0

Event History

Mar 8, 2025
CVE Published
via MITRE·02:24 AM
Data Sourced
via MITRE·02:24 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-13895?

CVE-2024-13895 is considered a high severity vulnerability due to its potential for arbitrary shortcode execution.

2

How do I fix CVE-2024-13895?

To mitigate CVE-2024-13895, update the Code Snippets CPT plugin to version 2.1.1 or later.

3

Who is affected by CVE-2024-13895?

All users of the Code Snippets CPT plugin for WordPress with versions up to and including 2.1.0 are affected by CVE-2024-13895.

4

What type of vulnerability is CVE-2024-13895?

CVE-2024-13895 is a vulnerability that allows for arbitrary shortcode execution due to inadequate input validation.

5

Can I continue using Code Snippets CPT version 2.1.0 after CVE-2024-13895?

It is not recommended to use Code Snippets CPT version 2.1.0 or earlier after the discovery of CVE-2024-13895 due to security risks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203