{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.5.5"
              },
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "4.5.6"
              }
            ],
            "source": [
              "DESCRIPTION",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "6bb7a7f198b13b0780547285d4214704ce991c23"
            },
            {
              "fixed": "8f1988367c1ccbbb1c44866d9dc9fa512e4f3b31"
            }
          ],
          "repo": "https://github.com/strapi/strapi",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22621.json"
  },
  "details": "Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution.",
  "id": "CVE-2023-22621",
  "modified": "2026-07-08T05:36:52.168287102Z",
  "published": "2023-04-19T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22621.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22621"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/strapi/strapi/releases"
    },
    {
      "type": "ARTICLE",
      "url": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve"
    },
    {
      "type": "ARTICLE",
      "url": "https://www.ghostccamm.com/blog/multi_strapi_vulns/"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}