PHP Code Injection Vulnerability in Code Snippets Plugin

Check todayFull system takeover over the network by a logged-in user.
8HIGH

Key Information:

Vendor

WordPress

CVE ID
CVE ID:
CVE-2025-13035
Vendor
CVE Published:
19 November 2025

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Code Snippets. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8).

What is CVE-2025-13035?

The Code Snippets plugin for WordPress is susceptible to PHP code injection across all versions up to and including 3.9.1. This vulnerability stems from the use of the extract() function on untrusted shortcode attributes within the evaluate_shortcode_from_flat_file method. This could allow an authenticated attacker, possessing Contributor-level access or higher, to execute arbitrary PHP code on the server by manipulating the $filepath variable. The risk is heightened if an administrator inadvertently enables the 'Enable file-based execution' setting and activates at least one Content snippet.

Affected Version(s)

Code Snippets 0 <= 3.9.1

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate MemberπŸ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration AideπŸ‘Ύ9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
Required
Scope:
Changed

Credit

Michael Mazzolini
.