CVE-2021-27902
MEDIUM 6.1CVSS 3.1Craft CMS Cross-site Scripting Vulnerability
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.
- Published
- 30 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-3jxh-789f-p7m6
- Sources
- NVDJSONOSV GHSA-3jxh-789f-p7m6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
< 3.6.0 | 3.6.0 |
| OSV | Packagist | craftcms/cms | < 3.6.0 | 3.6.0 |
References
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#360---2021-01-26 · Release Notes, Third Party Advisory, WEB
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#security-1 · Release Notes, Third Party Advisory, WEB
- https://github.com/craftcms/cms/commit/8ee85a8f03c143fa2420e7d6f311d95cae3b19ce · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-27902 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Jun 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jul 2021)