CVE-2026-56049

Post Snippets – Custom WordPress Code Snippets Customizer <= 4.0.19 - Authenticated (Contributor+) Remote Code Execution

highImproper Control of Generation of Code ('Code Injection')
8.8
CVSS Score
8.8
CVSS Score
high
Severity
4.1.0
Patched in
8d
Time to patch

Description

The Post Snippets – Custom WordPress Code Snippets Customizer plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.0.19. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute code on the server.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability

Technical Details

Affected versions<=4.0.19
PublishedJune 25, 2026
Last updatedJuly 2, 2026
Affected pluginpost-snippets

Source Code

WordPress.org SVN

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.