Skip to content

CVE-2023-22621 Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin

HighCVSS 7.2 EPSS 70.6% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
strapi @strapi/plugin-email(npm) < 4.5.6 4.5.6 Fixed
strapi @strapi/plugin-users-permissions(npm) < 4.5.6 4.5.6 Fixed
strapi @strapi/strapi >= 3.0.0, < 4.5.6 4.5.6 Fixed

Affected products

ProductAffected versionsFixed in
strapi @strapi/plugin-users-permissions(npm) < 4.5.6 4.5.6
strapi @strapi/plugin-email(npm) < 4.5.6 4.5.6
strapi @strapi/strapi >= 3.0.0, < 4.5.6 4.5.6

References