CVE-2026-54159 Details
Description
PrestaShop ps_facetedsearch is a module that adds layered navigation filters. From 3.0.0 until 4.0.4, the ps_facetedsearch module rebuilds selected search filters from the request URL, and the value of a slider filter, price or weight, is taken from the URL without sufficient validation and stored in an internal filter-block cache where it is serialized and later read back with a raw native unserialize() in src/Filters/Block.php. By crafting that value, an unauthenticated attacker can smuggle a malicious serialized PHP object into the cache, and when it is deserialized, a gadget chain writes an arbitrary PHP file inside the modules/ps_facetedsearch/ directory, which is then used as a webshell to run commands on the server. This issue is fixed in version 4.0.4.
A PHP Object Injection vulnerability has been identified in the PrestaShop module 'ps_facetedsearch', affecting versions 3.0.0 prior to 4.0.4. The vulnerability arises because the module reconstructs selected search filters from the request URL. Slider filter values, such as price or weight, are extracted from the URL without adequate validation. These values are then stored in an internal filter-block cache, serialized, and later deserialized using the native 'unserialize()' function. This flaw allows an unauthenticated attacker to inject a malicious serialized PHP object into the cache. When the object is deserialized, it triggers a gadget chain that writes an arbitrary PHP file into the 'modules/ps_facetedsearch/' directory. This file can then be used as a web shell to execute commands on the server.
Users are advised to upgrade the 'ps_facetedsearch' module to version 4.0.4 or later. If an immediate upgrade is not possible, remove price and weight slider filters from the front-office filter templates, clear the faceted-search filter cache, and audit the 'modules/ps_facetedsearch/' directory for any unexpected PHP files. Additionally, monitor search requests for PHP serialization patterns and block them at the WAF level.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 17, 2026CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/PrestaShop/ps_facetedsearch/commit/9ca839fac68a60641d8187a3ff9730ab09af33cb | [email protected] | Source CodeVendor |
| https://github.com/PrestaShop/ps_facetedsearch/releases/tag/v4.0.4 | [email protected] | Release NotesVendor |
| https://github.com/PrestaShop/ps_facetedsearch/security/advisories/GHSA-m5f5-28qr-9g9r | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PrestaShop ps_facetedsearch | >= 3.0.0, <= 4.0.3 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | New CVE Received | [email protected] |
Volerion