{
  "schema_version": "1.4.0",
  "id": "GHSA-w8xh-93qh-35vw",
  "modified": "2022-04-22T20:28:59Z",
  "published": "2022-04-13T00:00:22Z",
  "aliases": [
    "CVE-2022-27952"
  ],
  "summary": "Unrestricted Upload of File with Dangerous Type in Payload",
  "details": "An arbitrary file upload vulnerability in the file upload module of PayloadCMS v0.15.0 allows attackers to execute arbitrary code via a crafted SVG file.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "payload"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.15.1"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 0.15.0"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27952"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/payloadcms/payload"
    },
    {
      "type": "WEB",
      "url": "https://www.youtube.com/watch?v=6CfhAxA3xdQ"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-434"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-04-22T20:28:59Z",
    "nvd_published_at": "2022-04-12T17:15:00Z"
  }
}