Strapi core vulnerable to sensitive data exposure via CORS misconfiguration
Description
Strapi is an open source headless content management system. Strapi versions prior to 5.20.0 contain a CORS misconfiguration vulnerability in default installations. By default, Strapi reflects the value of the Origin header back in the Access-Control-Allow-Origin response header without proper validation or whitelisting. This 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. The vulnerability is fixed in version 5.20.0. No known workarounds exist.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@strapi/corenpm | < 5.20.0 | 5.20.0 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-9329-mxxw-qwf8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-53092ghsaADVISORY
- github.com/strapi/strapi/commit/6e535cb756ghsaWEB
- github.com/strapi/strapi/releases/tag/v5.20.0ghsaWEB
- github.com/strapi/strapi/security/advisories/GHSA-9329-mxxw-qwf8ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.