Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.8%top 47%

CVE-2026-54159: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in PrestaShop ps_facetedsearch

0
Critical
Published: 07/17/2026 (07/17/2026, 20:39:25 UTC)
Source: GCVE Database
Vendor/Project: PrestaShop
Product: ps_facetedsearch

Description

CVE-2026-54159 is a critical vulnerability in the PrestaShop ps_facetedsearch module versions 3.0.0 up to but not including 4.0.4. The module improperly handles slider filter values from the URL without sufficient validation, leading to unsafe deserialization of user-controlled data. This allows an unauthenticated attacker to inject a malicious serialized PHP object into the internal cache, which upon deserialization writes an arbitrary PHP file to the server. The malicious file can be used as a webshell to execute commands remotely. The issue is fixed in version 4.0.4.

CVSS v3.1

Score 10.0critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected software

Packagistghsa
prestashop/ps_facetedsearch
Affected versions
>=3.0.0 <4.0.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:07:24 UTC

Technical Analysis

The ps_facetedsearch module in PrestaShop versions >=3.0.0 and <4.0.4 rebuilds selected search filters from the request URL, including slider filter values for price or weight. These values are taken without sufficient validation and stored in an internal filter-block cache where they are serialized. Later, the cached data is read back using PHP's native unserialize() function in src/Filters/Block.php. An attacker can craft a malicious serialized PHP object to be injected into this cache. When deserialized, the object triggers a gadget chain that writes an arbitrary PHP file inside the modules/ps_facetedsearch/ directory. This file acts as a webshell, enabling remote command execution on the server. The vulnerability is addressed and fixed in version 4.0.4 of the module.

Potential Impact

An unauthenticated attacker can exploit this vulnerability to achieve remote code execution on the affected server by writing a webshell file. This leads to full compromise of confidentiality, integrity, and availability of the system running the vulnerable PrestaShop module. The CVSS v3.1 base score is 10.0, indicating critical severity with network attack vector, no privileges required, no user interaction, and complete impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade the ps_facetedsearch module to version 4.0.4 or later, where this vulnerability is fixed. No other mitigations are indicated or effective since the issue involves unsafe deserialization of user-controlled input. Patch status is confirmed fixed in 4.0.4.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-m5f5-28qr-9g9r
Osv Schema Version
1.4.0
Aliases
["CVE-2026-54159"]
Ecosystems
["Packagist"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a520eb368715ace438f514a

Added to database: 07/11/2026, 09:36:51 UTC

Last enriched: 07/25/2026, 23:07:24 UTC

Last updated: 09/03/2026, 22:52:12 UTC

Views: 177

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses