Skip to main content

Post Snippets CVE-2026-56049

| EUVDEUVD-2026-39380 HIGH
Code Injection (CWE-94)
2026-06-25 Patchstack GHSA-5rvc-gxqm-fm4r
8.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor-level WordPress account
  2. Delivery
    Create snippet with injected code payload
  3. Exploit
    Trigger snippet evaluation as PHP
  4. Execution
    Execute arbitrary code on web server
  5. Impact
    Compromise host beyond WordPress scope

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account with at least Contributor-level privileges (CVSS PR:L) on a site running Post Snippets version 4.0.19 or earlier, used to create or edit a snippet whose content is then evaluated as code. The vulnerability is network-reachable with no user interaction needed (AV:N/UI:N), but high attack complexity (AC:H) indicates a non-default or specific condition must be satisfied to trigger code evaluation rather than a one-shot request. Limiting factors that reduce realistic risk: the Contributor account requirement (sites without untrusted authors or open registration are far harder to attack), the AC:H precondition, and dependence on the plugin being installed and active; sites that have disabled self-registration or restricted snippet editing to admins substantially blunt this.

Impact

Signals are mixed but lean toward genuine priority for any site running this plugin. The CVSS vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H, base 8.5 High) indicates a network-reachable, no-user-interaction flaw that nonetheless requires authentication (PR:L, a Contributor account) and has high attack complexity (AC:H), implying a non-trivial condition or specific configuration must be met rather than a trivially repeatable exploit. There is no EPSS score, no KEV listing, and no POC referenced in the provided data, so there is no evidence of active or automated exploitation - exploitation status is 'no public exploit identified at time of analysis.' The key real-world gate is that Contributor accounts must exist and be obtainable; on sites with open registration granting Contributor role, or multi-author blogs, the barrier is low and the full C:H/I:H/A:H + scope-change RCE makes this high priority. On single-admin sites with no untrusted authors, real risk is materially lower despite the high CVSS. The AC:H rating should be verified against the vendor advisory to understand the exact precondition.

Exploit ScenarioDerived

An attacker registers or obtains a Contributor account on a WordPress site running Post Snippets <= 4.0.19, then crafts a snippet whose contents are evaluated as PHP by the plugin, satisfying the specific condition implied by the high attack complexity. When the snippet is processed/rendered, the injected code executes on the web server with the application's privileges, giving the attacker remote code execution and a path to full host compromise. No public proof-of-concept is referenced, so an attacker would need to derive the trigger from the advisory or source.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Remote code execution in the Post Snippets WordPress plugin (versions 4.0.19 and earlier) lets an authenticated user with only Contributor-level privileges inject and execute arbitrary PHP/code on the server via the plugin's snippet-handling functionality (CWE-94). Because a low-privilege role can pivot to full server compromise with a scope change (S:C), this is a privilege-escalation-to-RCE flaw reported by Patchstack; no public exploit has been identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

No vendor-released patch version is identified in the available data, so the exact fixed release cannot be cited; consult the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/post-snippets/vulnerability/wordpress-post-snippets-plugin-4-0-19-remote-code-execution-rce-vulnerability) and the WordPress plugin repository for any release above 4.0.19 and upgrade to it as the primary fix. Until a confirmed patched version is applied, deactivate and remove the Post Snippets plugin if it is not essential (eliminates the attack surface but breaks any snippets currently rendered on the site). If the plugin must remain active, restrict who holds the Contributor role: audit and remove untrusted Contributor accounts, disable open/self-service user registration or set the default new-user role to Subscriber (trade-off: legitimate contributors lose self-service onboarding), and limit access to the plugin's snippet creation/editing screens to trusted administrators. Add a WAF/virtual-patching rule (e.g., Patchstack) to block the exploit pattern as a stopgap, accepting that signature-based controls may not cover all variants.

Affected VersionsENISA

Post Snippets n/a ≤4.0.19

Affected Packages

euvd post_snippets no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Post Snippets is a WordPress plugin that lets users store reusable snippets of code/text and render them in posts, pages, or templates, typically via shortcodes or template tags. The vulnerability is a CWE-94 Code Injection issue: untrusted, attacker-controlled input is incorporated into a context that is evaluated as code (e.g., PHP evaluation of snippet content), so a user permitted to create or edit snippets can cause the server to execute their input. The affected CPE is cpe:2.3:a:post_snippets:post_snippets:*:*:*:*:*:*:*:*, covering all builds through 4.0.19. The CVSS scope change (S:C) reflects that code execution within the plugin/WordPress context breaks out to affect the underlying web server/host security boundary.

Know when Post Snippets gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Patchstack) PRIMARY 8.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.5 HIGH

Contributor authentication gives PR:L; network-reachable with no interaction (AV:N/UI:N); a specific precondition warrants AC:H; code execution escapes the app boundary (S:C) with full C/I/A impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Contributor Remote Code Execution (RCE) in Post Snippets <= 4.0.19 versions.

Executive ViewAI

Why It Matters

The Post Snippets WordPress plugin (versions 4.0.19 and earlier) contains a remote code execution vulnerability that allows any user with Contributor-level access to execute arbitrary code on affected servers. Organizations running this plugin must immediately audit which users hold Contributor privileges and consider disabling the plugin until a patch is released, as compromise could expose databases, confidential files, and critical web infrastructure.

Business Impact: High
Compensating Controls

Immediate: Disable Post Snippets plugin on all WordPress installations. If plugin functionality is required: restrict Contributor role to administrative approval only; implement file integrity monitoring on wp-content directory; deploy Web Application Firewall rules targeting PHP code injection patterns; enable detailed logging and alerting for code execution events. Monitor the plugin vendor (Patchstack) for security updates and upgrade to patched version immediately upon release.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
Low
niche WordPress snippet-management plugin with modest install base
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy