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


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Scope Changed
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.59% (79th percentile)
Expand this section
NVD
7.2 high

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

How 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."