What’s Vulnerable › Vulnerabilities
CVE-2021-27902
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-06-30 · updated 2026-06-17
- Weakness: CWE-79
Description
An issue was discovered in Craft CMS before 3.6.0. In some circumstances, a potential XSS vulnerability existed in connection with front-end forms that accepted user uploads.
Affected products
- craftcms cms: before 3.6.0 — fixed in 3.6.0
How to fix
Upgrade to a fixed version: craftcms cms 3.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#360---2021-01-26
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#security-1
- https://github.com/craftcms/cms/commit/8ee85a8f03c143fa2420e7d6f311d95cae3b19ce
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#360---2021-01-26
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#security-1
- https://github.com/craftcms/cms/commit/8ee85a8f03c143fa2420e7d6f311d95cae3b19ce
Get alerted when CVE-2021-27902 or the next vulnerability affects your stack