Skip to main content

Post Snippets EUVDEUVD-2026-96733

| CVE-2026-12980 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-11 WPScan GHSA-qq38-mwrv-h27q
6.8
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

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

  1. Access
    Obtain Contributor-level account
  2. Delivery
    Inject unescaped script into snippet variable
  3. Exploit
    Admin views rendered snippet content
  4. Execution
    Script executes in admin browser session
  5. Impact
    Hijack session or create rogue admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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

Exploitation Conditions

Requires an authenticated WordPress account with the Contributor role or higher on a site running Post Snippets ≤4.2.4, plus a victim (typically a higher-privileged user such as an editor/administrator) who subsequently views the content where the snippet's unescaped variable values are rendered (UI:R). Exploitation is therefore limited to deployments that grant snippet-authoring/contributor access to untrusted or lower-trust users; sites restricting content authoring to trusted administrators are not realistically exposed. No non-default plugin setting is required beyond having the plugin active and snippets in use.

Impact

This is a stored/injected XSS (CWE-79) in the Post Snippets WordPress plugin through 4.2.4, requiring an authenticated user with Contributor role or above. The input CVSS vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H, 6.8) is internally inconsistent with the description: it marks PR:H (high privilege) yet the description states Contributor-level access suffices, which is a LOW-privilege authenticated role - PR:L is more defensible. It also assigns C:H/I:H/A:H and S:U, which overstates impact for a typical reflected/stored script-injection flaw where real impact is usually limited (C:L/I:L) and scope typically changes (S:C) because the script executes in a victim's browser context. A public exploit exists (publicly available exploit code exists, reported by WPScan), but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation - treat POC availability and active exploitation as distinct signals. Net real-world risk is moderate-but-conditional: exploitation needs an authenticated contributor account AND a victim (typically an admin/editor) to view the malicious snippet output. For sites that allow untrusted contributors this is a meaningful privilege-escalation-to-admin vector; for single-author or tightly-controlled sites the practical risk is low.

Exploit ScenarioDerived

A site permits untrusted users to register at Contributor level. An attacker with such an account crafts a snippet whose variable values contain unescaped JavaScript; when an administrator or editor previews or publishes content that renders the snippet, the script executes in their authenticated session. A public exploit/PoC is available via WPScan, lowering the effort to reproduce the attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 11, 2026

Stored cross-site scripting in the Post Snippets WordPress plugin through 4.2.4 lets an authenticated user with Contributor-level access or above inject arbitrary JavaScript through snippet variable values, which then executes in the browser of any higher-privileged user (such as an editor or administrator) who views the rendered content. The plugin substitutes variable values into snippet output without escaping them, so injected script runs in the context of the viewing user's session and can be leveraged for session or credential theft and privileged actions performed on the victim's behalf. Publicly available exploit code exists and WPScan published the vulnerability, but there is no evidence of confirmed active exploitation (the issue is not in CISA KEV); real-world exposure is limited to sites that grant Contributor or snippet-authoring access to untrusted or lower-trust users.

RemediationAI

No vendor-released patch was identified at time of analysis for CVE-2026-12980; Post Snippets through 4.2.4 remains the affected range, so check the plugin's update channel and install any release newer than 4.2.4 if and when it appears, and consult the WPScan advisory at https://wpscan.com/vulnerability/288d419a-9e27-45ae-bde1-1aef52532354/ for updated fix information. Until a fixed version is confirmed, the most effective control is to remove the attack precondition: revoke Contributor or any snippet-authoring capability from untrusted users (using a role-management plugin to deny snippet access to Contributor and below), which neutralizes the issue but changes editorial workflows for those accounts. As compensating measures, audit existing snippets and user accounts with Contributor-and-above access for injected markup and remove anything suspicious, restrict who can create or edit snippets to administrators only, consider a Content Security Policy that blocks inline and third-party script execution (with the trade-off that it can break legitimate theme/plugin JavaScript), and deploy WAF rules that inspect snippet rendering output for script tags or event handlers (subject to false positives on legitimate markup). Where snippet authoring cannot be locked down, temporarily disabling the Post Snippets plugin eliminates the exposure at the cost of losing all snippet functionality on the site.

Affected VersionsENISA

Post Snippets 0 ≤4.2.4

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 allows site owners to define reusable snippets (shortcodes and PHP-like variables) that are expanded and rendered inside posts, pages, and widgets. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), and specifically a context problem: the plugin sanitizes or stores variable values but does not apply output escaping at the point where those values are substituted into the snippet markup before it is echoed to the page, so any markup present in the value is emitted as live HTML/JavaScript. Correct handling requires contextual output escaping applied after substitution (for example esc_html(), esc_attr(), or wp_kses_post() depending on the sink) rather than relying on input filtering alone. The CPE record cpe:2.3:a:unknown:post_snippets:*:*:*:*:*:*:*:* identifies the plugin with a wildcard version and an unresolved vendor namespace, and EUVD records affected versions as 'Post Snippets 0 through 4.2.4'. Note the scoring divergence: the vendor/NVD-style vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H (6.8) assumes high privileges and unchanged scope, while the independent assessment uses CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, reflecting Contributor-level (low) privileges and scope change because the script executes in the victim's browser context; both agree on network vector, low attack complexity, and required user interaction.

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 (WPScan) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 5.4 MEDIUM

Contributor is a low-privileged authenticated role so PR:L (not PR:H); victim must view content (UI:R); script runs in another user's context so S:C with limited C:L/I:L and no availability impact.

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

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

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

Lifecycle Timeline

3
CVSS changed
Oct 11, 2026 - 12:22 NVD
6.8 (MEDIUM)
CVE Published
Oct 11, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Oct 11, 2026 - 06:00 cve.org
MEDIUM 6.8

DescriptionCVE.org

The Post Snippets WordPress plugin through 4.2.4 does not properly escape variable values substituted into snippets before outputting them, allowing users with the Contributor role and above to inject arbitrary web scripts that execute when the content is viewed.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche WordPress plugin with modest install base, not core infrastructure
Exploit
POC
Public exploit code exists
Data Quality
5 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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