CVE-2023-22621

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductStrapi
PublishedApr 19, 2023
First seenApr 19, 2023
Weakness typeCWE-74Injection

How to fix

Update
  • strapi strapi4.5.6 or later
  • @strapi/plugin-users-permissions4.5.6 or later
  • @strapi/plugin-email4.5.6 or later

Affected products

ProductAffected versionsFixed in
strapi strapi3.0.0 ≤ v < 4.5.64.5.6
@strapi/plugin-users-permissionsnpmv < 4.5.64.5.6
@strapi/plugin-emailnpmv < 4.5.64.5.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.