{"id":"CVE-2025-53092","aliases":["CVE-2025-53092","GHSA-9329-mxxw-qwf8"],"related":[],"kind":"vulnerability","state":"published","title":"Strapi core vulnerable to sensitive data exposure via CORS misconfiguration","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA CORS misconfiguration vulnerability exists in default installations of Strapi where attacker-controlled origins are improperly reflected in API responses.\n\n### Technical Details\n\nBy default, Strapi reflects the value of the Origin header back in the Access-Control-Allow-Origin response header without proper validation or whitelisting.\n\nExample:\n`Origin: http://localhost:8888`\n`Access-Control-Allow-Origin: http://localhost:8888`\n`Access-Control-Allow-Credentials: true`\n\nThis allows an attacker-controlled site (on a different port, like 8888) to send credentialed requests to the Strapi backend on 1337.\n\n### Suggested Fix\n\n1. Explicitly whitelist trusted origins\n2. Avoid reflecting dynamic origins","format":"markdown","source":"ghsa"},{"lang":"es","text":"Strapi es un sistema de gestión de contenido headless de código abierto. Las versiones de Strapi anteriores a la 5.20.0 contienen una vulnerabilidad de mala configuración de CORS en instalaciones predeterminadas. Por defecto, Strapi refleja el valor del encabezado Origin en el encabezado de respuesta Access-Control-Allow-Origin sin una validación o lista blanca adecuadas. Esto permite que un sitio controlado por un atacante envíe solicitudes con credenciales al backend de Strapi. Un atacante puede explotar esto al alojar un sitio malicioso en un origen diferente (por ejemplo, un puerto diferente) y enviar solicitudes con credenciales a la API de Strapi. La vulnerabilidad está corregida en la versión 5.20.0. No existen soluciones alternativas conocidas.","source":"nvd"}],"published":"2025-10-16T16:29:35.246Z","modified":"2026-10-19T17:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-200","CWE-284","CWE-364","CWE-942"],"affected":[{"ranges":[{"version":"< 5.20.0","status":"affected"}],"vendor":"strapi","product":"strapi","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.20.0"}],"ecosystem":"npm","package":"@strapi/core","purl":"pkg:npm/%40strapi/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.20.0"}],"vendor":"strapi","product":"strapi","cpe":"cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/strapi/strapi/security/advisories/GHSA-9329-mxxw-qwf8","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53092","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/strapi/strapi/commit/6e535cb756","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/strapi/strapi","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/strapi/strapi/releases/tag/v5.20.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-16T18:03:56.017Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-53092","url":"https://www.cve.org/CVERecord?id=CVE-2025-53092","licence":"CVE Terms of Use","modified":"2025-10-16T18:13:08.618Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9329-mxxw-qwf8","url":"https://github.com/advisories/GHSA-9329-mxxw-qwf8","licence":"CC-BY-4.0","modified":"2026-02-03T03:03:57.813Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-53092","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53092","licence":"Public domain","modified":"2026-10-19T17:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:06.500Z","epss":{"score":0.00289,"percentile":0.23033,"date":"2026-12-01T12:00:22.000Z"}}