Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor-level WordPress account
-
DeliveryCreate snippet with injected code payload
-
ExploitTrigger snippet evaluation as PHP
-
ExecutionExecute arbitrary code on web server
-
ImpactCompromise 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
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.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Contributor Remote Code Execution (RCE) in Post Snippets <= 4.0.19 versions.
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
More in Post Snippets
View allStored cross-site scripting in the Post Snippets WordPress plugin through 4.2.4 lets an authenticated user with Contribu
The Post Snippets WordPress plugin versions up to and including 4.0.12 contain an improper code generation vulnerability
Auth. Rated medium severity (CVSS 4.8), this vulnerability is remotely exploitable, low attack complexity. No vendor pat
EUVD-2026-39380
GHSA-5rvc-gxqm-fm4r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB