Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-53092 EUVD-2025-34775GHSA-9329-mxxw-qwf8

Strapi core vulnerable to sensitive data exposure via CORS misconfiguration

Published Oct 16, 2025 · Updated Oct 16, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
strapi strapi < 5.20.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @strapi/core < 5.20.0 5.20.0 GHSA-9329-mxxw-qwf8

Advisories 1

References