Description
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.
References6
- plugins.trac.wordpress.org/browser/woocommerce-pos/tags/1.9.7/i…
- plugins.trac.wordpress.org/browser/woocommerce-pos/tags/1.9.7/i…
- plugins.trac.wordpress.org/browser/woocommerce-pos/tags/1.9.7/i…
- plugins.trac.wordpress.org/browser/woocommerce-pos/tags/1.9.7/i…
- plugins.trac.wordpress.org/changeset?reponame=&old=3612715%40wo…
- www.wordfence.com/threat-intel/vulnerabilities/id/0148c70f-38e4…
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 1% percentile: 61 · as of 14 November 2026
- CWE
- CWE-22
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.