Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-22621

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-22621
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:33 UTC · Revision 1

Source evidence

CVE-2023-22621

core-osv · Original source

Published 19 Apr 2023, 00:00 UTC

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.

osv:CVE-2023-22621
Complete source record
{
  "id": "b8f58c134440c488547b853d73efb6a12aa36edfbbc148f4d4900f49b632f4f2",
  "url": "https://osv.dev/vulnerability/CVE-2023-22621",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-22621",
    "summary": "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.",
    "evidence": "osv:CVE-2023-22621",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-22621",
      "aliases": [
        "CVE-2023-22621",
        "GHSA-2h87-4q2w-v4hf"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/strapi/strapi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6bb7a7f198b13b0780547285d4214704ce991c23"
                },
                {
                  "fixed": "d36609ff26fb4e00a41a7e2b657f16c7466203fe"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "4.5.5"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "4.5.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22621.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.272712612Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22621.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-22621",
        "https://github.com/strapi/strapi/releases",
        "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve",
        "https://www.ghostccamm.com/blog/multi_strapi_vulns/"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22621.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-22621",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488588,
  "published_at": "2023-04-19T00:00:00+00:00"
}