CVE-2021-3841 Stored Cross-site Scripting (XSS) in sylius/sylius
Attackers can inject malicious scripts via SVG files in Sylius, leading to code execution in user browsers.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3841?
CVE-2021-3841 is a medium-severity cross-site scripting vulnerability in sylius/sylius, published on 15 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
sylius/sylius versions prior to 1.9.10, 1.10.11, and 1.11.2 are vulnerable to stored cross-site scripting (XSS) through SVG files. This vulnerability allows attackers to inject malicious scripts that can be executed in the context of the user's browser.
Weakness: CWE-79
Which versions are affected by CVE-2021-3841?
6 open source packages ship an affected version, including sylius/sylius. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sylius/sylius Packagist | All versions | 1.9.10 |
sylius/sylius Packagist | All versions | 1.9.10 |
sylius/sylius Packagist | From 1.10.0 | 1.10.11 |
sylius/sylius Packagist | From 1.10.0 | 1.10.11 |
sylius/sylius Packagist | From 1.11.0 | 1.11.2 |
sylius/sylius Packagist | From 1.11.0 | 1.11.2 |
Products include Sylius Sylius.
How do I fix CVE-2021-3841?
Upgrade sylius/sylius to a fixed version for your release line: 1.9.10, 1.10.11 or 1.11.2.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-3841 being exploited?
There is no known exploitation of CVE-2021-3841 in the wild and no public exploit code.
Other vulnerabilities in sylius/sylius
- CVE-2026-31824 Sylius has a Promotion Usage Limit Bypass via Race Condition
- CVE-2024-57610 Denial of service in n/a
- CVE-2026-31820 Sylius affected by IDOR in Cart and Checkout LiveComponents
- CVE-2022-24743 Insufficient Session Expiration in Sylius
- CVE-2026-31819 Sylius has an Open Redirect via Referer Header
Sources
Also known as GHSA-hhvr-2q69-4563.