Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-13895: CWE-94 Improper Control of Generation of Code ('Code Injection') in jtsternberg Code Snippets CPT

0
Medium
VulnerabilityCVE-2024-13895cvecve-2024-13895cwe-94
Published: Sat Mar 08 2025 (03/08/2025, 02:24:04 UTC)
Source: CVE Database V5
Vendor/Project: jtsternberg
Product: Code Snippets CPT

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 13:25:41 UTC

Technical Analysis

CVE-2024-13895 is a code injection vulnerability in the jtsternberg Code Snippets CPT WordPress plugin. The flaw arises from insufficient validation of user-supplied input before executing it as a shortcode via do_shortcode. Authenticated attackers with Subscriber-level privileges or above can exploit this to execute arbitrary shortcodes, potentially impacting the integrity of the site. The vulnerability affects all versions up to 2.1.0.

Potential Impact

The vulnerability allows authenticated users with relatively low privileges (Subscriber-level and above) to execute arbitrary shortcodes. While this does not directly affect confidentiality or availability, it can lead to unauthorized code execution within the WordPress environment, potentially impacting site integrity or enabling further attacks. No known exploits are reported in the wild at this time.

Mitigation Recommendations

No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is released, restrict Subscriber-level access where possible and consider disabling or removing the Code Snippets CPT plugin if it is not essential. Avoid granting unnecessary privileges to users to reduce exploitation risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-02-20T16:13:21.401Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6d19b7ef31ef0b56df1c

Added to database: 2/25/2026, 9:43:53 PM

Last enriched: 4/9/2026, 1:25:41 PM

Last updated: 4/12/2026, 2:59:41 AM

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses