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

Severity
7.2HIGHNVD
EPSS
0.4%
top 37.46%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 8

Description

Shopware is an open commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, the `context` variable is injected into almost any Twig Template and allows to access to current language, currency information. The context object allows also to switch for a short time the scope of the Context as a helper with a callable function. The function can be called also from Twig and as the second parameter allows any callable, it's possible to call from Twig any statically callable PHP function/method. It'

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 1.2 | Impact: 5.9

Affected Packages4 packages

Packagistshopware/platform6.6.0.06.6.5.1+1
Packagistshopware/core6.6.0.06.6.5.1+1
NVDshopware/shopware6.6.0.06.6.5.1+1
CVEListV5shopware/shopware6.5.8.12+1

Patches

🔴Vulnerability Details

2
OSV
Shopware vulnerable to Server Side Template Injection in Twig using Context functions2024-08-08
GHSA
Shopware vulnerable to Server Side Template Injection in Twig using Context functions2024-08-08