CVE-2025-53092
JavaScript vulnerability analysis and mitigation

Overview

Strapi versions prior to 5.20.0 contain a CORS misconfiguration vulnerability in default installations. The vulnerability (CVE-2025-53092) was discovered and disclosed on October 16, 2025. The issue affects the @strapi/core npm package, specifically versions below 5.20.0 (GitHub Advisory).

Technical details

The vulnerability stems from Strapi's default behavior of reflecting the Origin header value in the Access-Control-Allow-Origin response header without proper validation or whitelisting. For example, if a request contains 'Origin: http://localhost:8888', the response will include 'Access-Control-Allow-Origin: http://localhost:8888' along with 'Access-Control-Allow-Credentials: true'. The vulnerability has been assigned a CVSS v3.1 score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N (GitHub Advisory).

Impact

This vulnerability allows an attacker-controlled site to send credentialed requests to the Strapi backend. An attacker can exploit this by hosting a malicious site on a different origin (e.g., different port) and sending requests with credentials to the Strapi API, potentially leading to unauthorized access to sensitive information (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Strapi version 5.20.0. Users should upgrade to this version or later to address the issue. No known workarounds exist for affected versions. The suggested fix involves explicitly whitelisting trusted origins and avoiding the reflection of dynamic origins (GitHub Advisory).

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-62427HIGH8.7
  • JavaScriptJavaScript
  • @angular/ssr
NoYesOct 16, 2025
CVE-2025-53092MEDIUM6.5
  • JavaScriptJavaScript
  • @strapi/core
NoYesOct 16, 2025
CVE-2025-11849MEDIUM6.4
  • JavaScriptJavaScript
  • Mammoth
NoYesOct 17, 2025
CVE-2025-25298MEDIUM6.3
  • JavaScriptJavaScript
  • @strapi/core
NoYesOct 16, 2025
CVE-2025-62505LOW3
  • JavaScriptJavaScript
  • @lobehub/chat
NoYesOct 17, 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