CVE-2022-32114
JavaScript vulnerability analysis and mitigation

Overview

An unrestricted file upload vulnerability was discovered in Strapi version 4.1.12, specifically in the Add New Assets function of the Media Library. This vulnerability, identified as CVE-2022-32114, was discovered on May 29, 2022, and allows attackers to conduct XSS attacks via crafted files (GrimTheRipper Blog).

Technical details

The vulnerability exists in the Media Library's file upload functionality where the system fails to properly validate uploaded files. This allows attackers to upload files containing malicious content that can execute when accessed. The vulnerability specifically affects the Add New Assets function, where the file upload restrictions can be bypassed (NVD).

Impact

When successfully exploited, this vulnerability allows attackers to execute arbitrary code through XSS attacks. When users access the uploaded malicious file through its link, the embedded malicious content executes in the user's browser context (GrimTheRipper Blog).

Mitigation and workarounds

Users should upgrade to a patched version of Strapi beyond version 4.1.12. Additionally, it's recommended to implement proper file upload validation and restrict file types that can be uploaded through the Media Library (NVD).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management