Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain shop manager credentials
-
DeliveryAuthenticate to WordPress REST API
-
ExploitCraft traversal payload in 'type' parameter
-
ExecutionAppend context=edit to bypass sanitization
-
PersistSubmit request to WCPOS templates endpoint
-
ImpactReceive raw sensitive file contents in API response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection 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 session with shop manager-level access or higher in WordPress (PR:L per CVSS vector); lower-privileged roles such as customer or subscriber cannot trigger this endpoint. The critical enabling condition is the inclusion of 'context=edit' as a query parameter in the REST API request - without this parameter, the prepare_item_for_response() method applies content-stripping logic that prevents the raw file contents from being returned, neutralizing the traversal. Exploitation is limited to environments running WCPOS plugin version 1.9.8 or earlier; the vulnerability is not present in core WooCommerce or WordPress. Factors limiting exploitation: shop manager is a non-default, explicitly assigned role; exploitation requires knowing the WCPOS REST API endpoint structure; and 'context=edit' must be intentionally supplied, meaning this is not exploitable passively or through browser-driven user interaction. |
| Impact | The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately reflects the risk profile: high confidentiality impact with network-accessible exploitation, but constrained by the requirement for shop manager-level authentication (PR:L). Real-world risk is moderate-to-significant for affected deployments because shop manager accounts are relatively common in WooCommerce environments (multi-staff stores, agencies, contractors), and file read access on a web server can expose database credentials (wp-config.php), private keys, environment files (.env), or other plugin secrets. No EPSS data was provided, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation at time of analysis. No public POC has been identified. The AC:L metric is accurate - once an attacker holds shop manager credentials, the attack requires only a crafted REST API request with two parameters ('type' traversal payload and 'context=edit'); there are no race conditions, timing windows, or environment-specific hurdles. The absence of integrity and availability impact (I:N/A:N) is confirmed by the read-only nature of the path traversal. |
| Exploit ScenarioDerived | An attacker who has obtained shop manager credentials - whether through phishing, credential stuffing, a compromised contractor account, or privilege escalation within WordPress - sends a crafted authenticated REST API request to the WCPOS templates endpoint with the 'type' parameter set to a traversal payload (e.g., '../../wp-config.php') and 'context=edit' appended to the request. The response-stripping logic is bypassed and the raw contents of wp-config.php - including database hostname, username, password, and authentication secret keys - are returned in the API response, enabling full database compromise and WordPress secret key extraction. No public POC has been identified at time of analysis, but the attack is straightforward to reconstruct from the description alone. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Directory traversal in the WCPOS - Point of Sale plugin for WooCommerce (all versions through 1.9.8) allows authenticated shop managers to read arbitrary files from the server filesystem via the REST API. The vulnerability is exploited through the 'type' parameter in template-related API endpoints, with the critical bypass condition being the inclusion of 'context=edit' in the request, which suppresses the response sanitization layer and returns raw file contents. No public exploit code has been identified at time of analysis, and exploitation requires shop manager-level credentials, limiting opportunistic attack surface.
RemediationAI
An upstream fix has been committed to the WordPress plugin repository (changeset reference: https://plugins.trac.wordpress.org/changeset?reponame=&old=3612715%40woocommerce-pos&new=3612715%40woocommerce-pos); however, the exact released patched version number is not independently confirmed from the available data - verify the current version in the WordPress plugin repository and update to the latest release above 1.9.8. Until patched, compensating controls include: restricting or auditing shop manager account assignments to minimize the number of trusted principals who could exploit this flaw (reducing the risk that a compromised or malicious employee leverages it); implementing a Web Application Firewall (WAF) rule to detect and block REST API requests containing path traversal sequences (e.g., '../') in the 'type' parameter; and ensuring sensitive files like wp-config.php use WordPress hardening measures (e.g., moving wp-config.php above the web root, restricting read permissions to the web process user only). Note that the WAF mitigation may interfere with legitimate template management functionality if the plugin uses path-like values in the 'type' parameter for valid use cases.
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
The affected code resides in the plugin's REST API controller (Templates_Controller.php) and template loader (Templates.php), specifically in the logic that handles template file retrieval. The 'type' parameter is used to select which template file to load, and the implementation fails to sanitize or canonicalize the path before reading from disk - a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, aka Path Traversal) root cause. The bypass mechanism is architecturally notable: the prepare_item_for_response() method contains content-stripping logic intended to sanitize output, but when 'context=edit' is passed in the request (a standard WooCommerce REST API context parameter), this sanitization is bypassed, allowing the raw traversed file content to be returned verbatim in the JSON REST API response. The CPE is cpe:2.3:a:kilbot:wcpos_-_point_of_sale_(pos)_plugin_for_woocommerce:*:*:*:*:*:*:*:* (vendor: kilbot). Source code references confirm the vulnerable logic at Templates_Controller.php lines 446 and 1497, and Templates.php lines 445 and 481 in the 1.9.7 tag.
Know when Wordpress Plugin 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:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network REST API vector, low privilege (shop manager required), no user interaction; pure confidentiality impact via file read, no integrity or availability effect.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The WCPOS - Point of Sale (POS) plugin for WooCommerce plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.9.8 via the 'type' parameter parameter. This makes it possible for authenticated attackers, with shop manager-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information. Successful exploitation requires supplying context=edit in the request, which bypasses the content-stripping logic in prepare_item_for_response() and returns the traversed file verbatim in the REST API response.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-47928
GHSA-4h8p-8qhg-5wv2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB