WordPress Plugin Vulnerabilities

WCPOS < 1.9.9 - Authenticated (Shop Manager+) Path Traversal to Arbitrary File Read via 'type' Parameter

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.

Affects Plugins

Fixed in 1.9.9

References

Classification

Type
LFI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Wordfence PRISM
Verified
No

Timeline

Publicly Published
2026-07-22 (about 1 month ago)
Added
2026-07-22 (about 1 month ago)
Last Updated
2026-07-23 (about 1 month ago)

Other