{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.6.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "243c576a4317fa075e6876b4af0ff2ed98de2867"
            },
            {
              "fixed": "8ee85a8f03c143fa2420e7d6f311d95cae3b19ce"
            }
          ],
          "repo": "https://github.com/craftcms/cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2021-27902",
  "modified": "2026-03-13T21:51:23.761031434Z",
  "published": "2021-06-30T12:15:07.610Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#360---2021-01-26"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#security-1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/craftcms/cms/commit/8ee85a8f03c143fa2420e7d6f311d95cae3b19ce"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}