Improper Neutralization of Special Elements Used in a Template Engine Affecting @strapi/plugin-users-permissions package, versions >=4.0.0-next.0 <4.5.6
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-STRAPIPLUGINUSERSPERMISSIONS-5431382
- published 20 Apr 2023
- disclosed 19 Apr 2023
- credit ghostccamm
Introduced: 19 Apr 2023
CVE-2023-22621 Open this link in a new tabHow to fix?
Upgrade @strapi/plugin-users-permissions
to version 4.5.6 or higher.
Overview
@strapi/plugin-users-permissions is a headless CMS
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine. Remote attackers can inject a payload into an email template, which can execute code on the server, bypassing validation checks that should prevent code execution.
The maintainers report that "This vulnerability’s scope was originally believed to be exploitable only if a malicious actor had access to the Strapi Admin Panel."