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


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
62.86% (98th percentile)

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 IDSNYK-JS-STRAPIPLUGINUSERSPERMISSIONS-5431382
  • published20 Apr 2023
  • disclosed19 Apr 2023
  • creditghostccamm

Introduced: 19 Apr 2023

CVE-2023-22621  (opens in a new tab)
CWE-1336  (opens in a new tab)

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

CVSS Scores

version 3.1