Improper Neutralization of Special Elements Used in a Template Engine Affecting @strapi/plugin-email 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

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    61.43% (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 ID SNYK-JS-STRAPIPLUGINEMAIL-5431383
  • published 20 Apr 2023
  • disclosed 19 Apr 2023
  • credit ghostccamm

How to fix?

Upgrade @strapi/plugin-email to version 4.5.6 or higher.

Overview

@strapi/plugin-email 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
Expand this section

Snyk

Recommended
10 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.2 high