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.
Description as published by the source, in English.
Key facts
Published
2025-10-16
Last modified
2026-10-19
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.3 %
higher than 19 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK.
This shows which techniques the weakness class is historically used for.
It does not assert that this vulnerability has been exploited that way.
T1007: System Service Discovery discovery
T1014: Rootkit stealth
T1016: System Network Configuration Discovery discovery
T1018: Remote System Discovery discovery
T1027.009: Embedded Payloads stealth
T1033: System Owner/User Discovery discovery
T1036.005: Match Legitimate Resource Name or Location stealth
T1037: Boot or Logon Initialization Scripts persistence, privilege-escalation
T1046: Network Service Discovery discovery
T1049: System Network Connections Discovery discovery