{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-27902","published":"2021-06-30T12:15:07.610000Z","last_modified":"2026-06-17T03:45:34.823000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","part":"a","vendor":"craftcms","product":"craft_cms","version_end_excluding":"3.6.0"}],"cpes_truncated":false,"vendors":["craftcms"],"products":["craftcms/craft_cms"],"epss":{"score":0.00987,"percentile":0.63418,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-3jxh-789f-p7m6","ecosystem":"Packagist","name":"craftcms/cms","purl":"pkg:composer/craftcms/cms","ranges":[{"introduced":"0","fixed":"3.6.0"}],"versions":["3.1.16","3.1.17","3.1.17.1","3.1.17.2","3.1.18","3.1.19","3.1.2","3.1.2.1","3.1.2.2","3.1.20","3.1.20.1","3.1.21","3.1.21.1","3.1.22","3.1.23","3.1.24","3.1.25","3.1.26","3.1.27","3.1.28","3.1.29","3.1.3","3.1.30","3.1.31","3.1.32","3.1.32.1","3.1.33","3.1.34","3.1.34.1","3.1.34.2","3.1.34.3","3.1.4","3.1.5","3.1.6","3.1.6.1","3.1.7","3.1.8","3.1.9","3.1.9.1","3.2.0","3.2.0-RC1","3.2.0-RC2","3.2.0-RC3","3.2.0-alpha.1","3.2.0-alpha.2","3.2.0-alpha.2.1","3.2.0-alpha.3","3.2.0-alpha.4","3.2.0-alpha.5","3.2.0-alpha.6","3.2.0-alpha.6.1","3.2.0-alpha.6.2","3.2.0-alpha.6.3","3.2.0-alpha.6.4","3.2.0-alpha.7","3.2.0-beta.1","3.2.0-beta.2","3.2.0-beta.3","3.2.1","3.2.10","3.2.2","3.2.3","3.2.4","3.2.4.1","3.2.5","3.2.5.1","3.2.6","3.2.7","3.2.8","3.2.9","3.3.0","3.3.0.1","3.3.1","3.3.1.1","3.3.1.2","3.3.10","3.3.11","3.3.12","3.3.13","3.3.14","3.3.15","3.3.16","3.3.16.1","3.3.16.2","3.3.16.3","3.3.17","3.3.18","3.3.18.1","3.3.18.2","3.3.18.3","3.3.18.4","3.3.19","3.3.2","3.3.20","3.3.20.1","3.3.3","3.3.4","3.3.4.1","3.3.5","3.3.6","3.3.7","3.3.8","3.3.9","3.4.0","3.4.0-RC1","3.4.0-RC1.1","3.4.0-RC2","3.4.0-RC3","3.4.0-beta.1","3.4.0-beta.2","3.4.0-beta.3","3.4.0-beta.4","3.4.0-beta.5","3.4.0.1","3.4.0.2","3.4.1","3.4.10","3.4.10.1","3.4.11","3.4.12","3.4.13","3.4.14","3.4.15","3.4.16","3.4.17","3.4.17.1","3.4.18","3.4.19","3.4.19.1","3.4.2","3.4.20","3.4.21","3.4.22","3.4.22.1","3.4.23","3.4.24","3.4.25","3.4.26","3.4.27","3.4.28","3.4.28.1","3.4.29","3.4.29.1","3.4.3","3.4.30","3.4.4","3.4.4.1","3.4.5","3.4.6","3.4.6.1","3.4.7","3.4.7.1","3.4.8","3.4.9","3.5.0","3.5.0-RC1","3.5.0-RC1.1","3.5.0-RC2","3.5.0-RC3","3.5.0-RC4","3.5.0-RC5","3.5.0-RC6","3.5.0-beta.1","3.5.0-beta.2","3.5.0-beta.3","3.5.1","3.5.10","3.5.10.1","3.5.11","3.5.11.1","3.5.12","3.5.12.1","3.5.13","3.5.13.1","3.5.13.2","3.5.14","3.5.15","3.5.15.1","3.5.16","3.5.17","3.5.17.1","3.5.18","3.5.19","3.5.19.1","3.5.2","3.5.3","3.5.4","3.5.5","3.5.6","3.5.7","3.5.8","3.5.9","3.6.0-RC1","3.6.0-RC2","3.6.0-RC2.1","3.6.0-RC3","3.6.0-RC4","3.6.0-beta.1","3.6.0-beta.1.1","3.6.0-beta.2"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-27902/","html_en":"/en/cve/CVE-2021-27902/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-27902","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-27902"},"untrusted":{"vendor_name":"Craftcms","product_name":"Craft Cms","desc_en":"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":[],"references":[{"url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#360---2021-01-26","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#security-1","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/craftcms/cms/commit/8ee85a8f03c143fa2420e7d6f311d95cae3b19ce","tags":["Patch","Third Party Advisory"]}]}}