CVE-2023-22731 — Vulnerability in shopware/platform — CVE Details
Shopware vulnerable to Improper Control of Generation of Code in Twig rendered views
Summary
Advisory Timeline
- First published January 17, 2023 (1363 days ago).
- Last revised November 8, 2023 — 294 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "shopware/platform:^6.4.18.1"
composer require "shopware/core:^6.4.18.1"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: packagist (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| shopware/platform | packagist | 6.3.0.0, 6.3.0.1, 6.3.0.2, 6.3.1.0 (+65 more) | 6.4.18.1 |
| shopware/core | packagist | 6.3.0.0, 6.3.0.1, 6.3.0.2, 6.3.1.0 (+65 more) | 6.4.18.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/shopware/platform/security/advisories/GHSA-93cw-f5jj-x85wWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-22731ADVISORY
- https://github.com/shopware/platform/commit/89d1ea154689cb6202e0d3a0ceeae0febb0c09e1WEB
- https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-01-2023?category=security-updatesWEB
- https://github.com/shopware/platformPACKAGE
Frequently Asked Questions
- What is CVE-2023-22731?
- Shopware vulnerable to Improper Control of Generation of Code in Twig rendered views This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-22731?
- CVE-2023-22731 affects shopware/platform and shopware/core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-22731 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107845CRITICAL
Contao: Cross-site scripting in the comments bundle
- CVE-2026-92161CRITICAL
FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider
- CVE-2024-22406CRITICAL
Blind SQL injection in shopware
- CVE-2024-42355HIGH
Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag
- CVE-2024-42356HIGH
Shopware vulnerable to Server Side Template Injection in Twig using Context functions
- CVE-2026-31887HIGH
Shopware: Unauthenticated data extraction possible through store-api.order endpoint
- CVE-2026-31889HIGH
Shopware vulnerable to a potential take over of app credentials
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies