Improper Neutralization of Special Elements Used in a Template Engine in Shopware - CVE-2024-42355

 

Improper Neutralization of Special Elements Used in a Template Engine in Shopware - CVE-2024-42355

Published: August 8, 2024 / Updated: May 20, 2026


Vulnerability identifier: #VU131895
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-42355
CWE-ID: CWE-1336
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Shopware
Affected software:
Shopware

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper neutralization of special elements used in a template engine in the Twig sw_silent_feature_call tag when processing a feature flag name parameter. A remote user can supply a crafted parameter value to execute arbitrary code.


How to mitigate CVE-2024-42355

Install security update from vendor's website.

Sources