CVE-2021-41236 XSS vulnerability in oro/platform
An attacker with template editing permissions can inject XSS payloads into email templates, which execute when other users preview them.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-41236?
CVE-2021-41236 is a medium-severity cross-site scripting vulnerability in oroinc platform, published on 4 Jan 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
OroPlatform is a PHP Business Application Platform. In affected versions the email template preview is vulnerable to XSS payload added to email template content. An attacker must have permission to create or edit an email template. For successful payload, execution the attacked user must preview a vulnerable email template. There are no workarounds that address this vulnerability. Users are advised to upgrade as soon as is possible.
Weakness: CWE-79
Which versions are affected by CVE-2021-41236?
6 open source packages ship an affected version, including oro/platform. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
oro/platform Packagist | From 3.1.0 | 3.1.21 |
oro/platform Packagist | From 3.1.0 | 3.1.21 |
oro/platform Packagist | From 4.1.0 | 4.1.14 |
oro/platform Packagist | From 4.1.0 | 4.1.14 |
oro/platform Packagist | From 4.2.0 | 4.2.8 |
oro/platform Packagist | From 4.2.0 | 4.2.8 |
Products include Oroinc Oroplatform.
How do I fix CVE-2021-41236?
Upgrade oro/platform to a fixed version for your release line: 3.1.21, 4.1.14 or 4.2.8.
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-41236 being exploited?
There is no known exploitation of CVE-2021-41236 in the wild and no public exploit code.
Other vulnerabilities in oroinc platform
- CVE-2021-43852 JavaScript Prototype Pollution in oro/platform
- CVE-2022-41951 OroPlatform vulnerable to path traversal during temporary file manipulations
- CVE-2024-50677 Cross-site scripting in n/a
- CVE-2023-32062 OroCalendarBundle has incorrect system calendar events visibility
- CVE-2023-45824 OroPlatform's pinned entity creation form shows pages of other users
Sources
Also known as GHSA-qv7g-j98v-8pp7.