Skip to main content

Strapi CVE-2025-53092

MEDIUM
Information Exposure (CWE-200)
2025-10-16 security-advisories@github.com
6.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated user to malicious origin
  2. Delivery
    Page sends credentialed cross-origin API request
  3. Exploit
    Strapi reflects Origin, allows credentialed read
  4. Execution
    Script reads sensitive API response
  5. Impact
    Exfiltrate data to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Applies to DEFAULT Strapi installations prior to 5.20.0, where the backend reflects the request's Origin header into Access-Control-Allow-Origin together with Access-Control-Allow-Credentials: true, with no origin whitelisting. Exploitation requires: (1) a victim with an active authenticated session / valid credentials to the Strapi API, and (2) that victim to visit or be redirected to an attacker-controlled origin (UI:R) running JavaScript that issues credentialed cross-origin requests. Limiting factors: the attack is per-victim and cannot be automated at scale, it yields confidentiality impact only (no data modification), and deployments that have already configured an explicit CORS origin whitelist are not affected. No vendor workaround exists other than upgrading to 5.20.0.

Impact

This is a genuine but moderate-severity information-disclosure issue, not an emergency. The signals are mutually consistent and point to real-but-bounded risk: CVSS 3.1 base 6.5 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N) reflects a network-reachable, low-complexity flaw with confidentiality-only impact that critically requires user interaction (UI:R) - a victim must visit an attacker-controlled page while holding an authenticated Strapi session. EPSS is low at 0.29% (20th percentile), there is no CISA KEV listing and no public exploit identified, so there is no evidence of active or widespread exploitation. The low EPSS is coherent here rather than contradictory: although the misconfiguration affects default installations (a broad-exposure factor), successful exploitation hinges on a logged-in user being lured to a malicious origin, which limits scalability. Note PR:N (unauthenticated from the CVSS perspective) describes the attacker's position, but the attack's value depends on the VICTIM being authenticated - the credentialed session is what the reflected CORS header exposes. SSVC-style read: exploitation = none observed, automatable = no (requires per-victim social engineering / UI:R), technical impact = partial (confidentiality of API data only, no integrity or availability loss). Overall this is a legitimate patch-in-normal-cycle item, not a drop-everything priority.

Exploit ScenarioDerived

An attacker hosts a malicious web page on a different origin (e.g., a different port such as http://localhost:8888) and lures a user who has an active, authenticated Strapi session into visiting it. The page issues credentialed cross-origin fetch requests to the Strapi API; because Strapi reflects the Origin header into Access-Control-Allow-Origin with Access-Control-Allow-Credentials: true, the attacker's JavaScript can read the authenticated API responses and exfiltrate sensitive data. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

CORS misconfiguration in default Strapi installations before 5.20.0 lets unauthenticated remote attackers reflect an arbitrary Origin in Access-Control-Allow-Origin while Access-Control-Allow-Credentials is true, enabling credentialed cross-origin reads from an attacker-controlled site. Exploitation requires a victim with an active Strapi session to visit the malicious origin (UI:R), limits impact to confidentiality, and is rated CVSS 6.5 with low EPSS (0.29%); no public exploit identified at time of analysis. Strapi 5.20.0 fixes it, and deployments with an explicit CORS allowlist are not affected.

RemediationAI

Upgrade to Strapi 5.20.0 (npm @strapi/core 5.20.0), which contains the upstream fix referenced by commit 6e535cb756 and is documented at https://github.com/strapi/strapi/security/advisories/GHSA-9329-mxxw-qwf8. The vendor states no known workarounds exist; if immediate upgrade is not possible, enforce an explicit CORS origin allowlist and stop reflecting arbitrary Origin values as a compensating control, recognizing this is a configuration hardening measure rather than a vendor-supported workaround. Additionally, restrict network exposure of the Strapi API to trusted clients and monitor for unexpected cross-origin requests, accepting that these controls reduce but do not eliminate the risk until 5.20.0 is deployed.

Affected Packages

npm @strapi/core fix: 5.20.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Strapi is a Node.js headless CMS; its default CORS handling reflects the request Origin into Access-Control-Allow-Origin and sets Access-Control-Allow-Credentials: true, without validating against a whitelist. This violates the same-origin policy's protections for credentialed cross-origin requests and maps to CWE-200 (Exposure of Sensitive Information), because a malicious page on a different origin can cause the victim's browser to send cookies or authorization to the Strapi API and read the response. The CPE cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:* identifies Strapi broadly, while the advisory bounds affected npm/@strapi/core versions to <5.20.0; the root cause is permissive dynamic origin reflection rather than a memory-safety or injection flaw.

Know when Strapi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable with low complexity and no attacker auth (PR:N), but a logged-in victim must visit the malicious origin (UI:R); impact is confidentiality-only via readable credentialed responses, so I:N/A:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular open-source headless CMS, common in dev/SMB web stacks
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*

More in Strapi

View all
CVE-2023-22894 MEDIUM POC
4.9 Apr 19

Strapi through 4.5.5 allows attackers (with access to the admin panel) to discover sensitive user details by exploiting

CVE-2023-38507 CRITICAL POC
9.8 Sep 15

Strapi is the an open-source headless content management system. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2022-27263 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of Strapi v4.1.5 allows attackers to execute arbitrary

CVE-2019-18818 CRITICAL POC
9.8 Nov 07

strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/s

CVE-2022-32114 HIGH POC
8.8 Jul 13

An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XS

CVE-2022-31367 HIGH POC
8.8 Sep 27

Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses. Rated high severity

CVE-2024-37818 HIGH POC
8.6 Jun 20

Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /strapi.io/_next/image.

CVE-2024-34065 HIGH POC
8.1 Jun 12

Strapi is an open-source content management system. Rated high severity (CVSS 8.1), this vulnerability is remotely explo

CVE-2021-28128 HIGH POC
8.1 May 06

In Strapi through 3.6.0, the admin panel allows the changing of one's own password without entering the current password

CVE-2023-39345 HIGH POC
7.5 Nov 06

strapi is an open-source headless CMS. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no au

CVE-2023-34235 HIGH POC
7.5 Jul 25

Strapi is an open-source headless content management system. Rated high severity (CVSS 7.5), this vulnerability is remot

CVE-2023-22893 HIGH POC
7.5 Apr 19

Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login pro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy