{"id":"CVE-2021-27902","aliases":["CVE-2021-27902","GHSA-3jxh-789f-p7m6"],"related":[],"kind":"vulnerability","state":"published","title":"Craft CMS Cross-site Scripting Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema en Craft CMS versiones  anteriores a 3.6.0. En algunas circunstancias, se presentaba una potencial vulnerabilidad de tipo XSS en relación con los formularios del front-end que aceptaban las cargas de los usuarios","source":"nvd"}],"published":"2021-06-30T11:56:40.000Z","modified":"2026-06-17T03:45:34.823Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.6.0"}],"ecosystem":"Packagist","package":"craftcms/cms","purl":"pkg:composer/craftcms/cms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.6.0"}],"vendor":"craftcms","product":"craft_cms","cpe":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#security-1","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/cms/commit/8ee85a8f03c143fa2420e7d6f311d95cae3b19ce","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#360---2021-01-26","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27902","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27902","url":"https://www.cve.org/CVERecord?id=CVE-2021-27902","licence":"CVE Terms of Use","modified":"2024-08-03T21:33:16.785Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3jxh-789f-p7m6","url":"https://github.com/advisories/GHSA-3jxh-789f-p7m6","licence":"CC-BY-4.0","modified":"2024-02-16T08:11:53.330Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27902","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27902","licence":"Public domain","modified":"2026-06-17T03:45:34.823Z"}],"updatedAt":"2026-11-25T22:58:02.390Z","epss":{"score":0.00987,"percentile":0.6132,"date":"2026-11-30T12:00:22.000Z"}}