Vulnerability · Published Apr 19, 2023 · Assigned by mitre

CVE-2023-22621

Critical 10.0

In plain English

A critical-severity injection in the @strapi/plugin-email package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 70.6% (higher than 99.4% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)70.6%top 0.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling2Nuclei, Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@strapi/plugin-email4.5.6GHSA-2h87-4q2w-v4hf
npm@strapi/plugin-users-permissions4.5.6GHSA-2h87-4q2w-v4hf

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References