Strapi vulnerable to cross-site scripting


Strapi contains a stored cross-site scripting vulnerability (CWE-79) in the file upload function.

Yuta Morioka of Information Science College reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V3 Severity:
Base Metrics 5.4 (Medium) [IPA Score]
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low
  • User Interaction: Required
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None
CVSS V2 Severity:
Base Metrics 3.5 (Low) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: Single Instance
  • Confidentiality Impact: None
  • Integrity Impact: Partial
  • Availability Impact: None
Affected Products

  • strapi v3.x.x versions and earlier


An arbitrary script may be executed on the web browser of the user who is logging in to the product with the administrative privilege.

[Update the Software]
Update the software to the latest version according to the information provided by the developer.
According to the developer, this vulnerability is fixed in Strapi v4.x.x versions and v3.x.x versions are planned to be end-of-life in September, 2022.
Vendor Information

CWE (What is CWE?)

  1. Cross-site Scripting(CWE-79) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2022-29894

  1. JVN : JVN#44550983
Revision History

  • [2022/05/13]
      Web page published