Vulnerabilities in pkg:npm/@strapi/core

PACKAGE
Advisory Identifier: GHSA-9329-mxxw-qwf8
Advisory Summary

CVE-2025-53092 is a HIGH (CVSS 7.5) strapi core vulnerable to sensitive vulnerability (CWE-364: Signal Handler Race Condition) affecting @strapi/core libraries in the npm ecosystem. The issue involves strapi core vulnerable to sensitive data exposure via cors misconfiguration. Remediation is available by upgrading affected packages to version 5.20.0.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@strapi/core

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@strapi/core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-9329-mxxw-qwf8 CVE-2025-53092 HIGH Strapi core vulnerable to sensitive data exposure via CORS misconfiguration
GHSA-2cjv-6wg9-f4f3 CVE-2025-25298 MODERATE Strapi Password Hashing is Missing Maximum Password Length Validation
GHSA-495j-h493-42q2 CVE-2024-56143 HIGH Strapi Allows Unauthorized Access to Private Fields via parms.lookup

CVE-2025-53092 at a Glance

CVE Identifier CVE-2025-53092
GHSA Identifier GHSA-9329-mxxw-qwf8
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-364: Signal Handler Race Condition
Affected Product @strapi/core
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-53092

To remediate this vulnerability, upgrade all affected @strapi/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@strapi/core fixed: 5.20.0
npm install @strapi/core@5.20.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @strapi/core

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-53092, inspect your project dependencies using npm:

npm ls @strapi/core

Analyze the terminal output to locate any version of @strapi/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.20.0), your application is affected.

Note: The npm ls @strapi/core command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-364: Signal Handler Race Condition, where the product uses a signal handler that introduces a race condition. In @strapi/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary A CORS misconfiguration vulnerability exists in default installations of Strapi where attacker-controlled origins are improperly reflected in API responses. ### Technical Details By default, Strapi reflects the value of the Origin header back in the Access-Control-Allow-Origin response header without proper validation or whitelisting. Example: `Origin: http://localhost:8888` `Access-Control-Allow-Origin: http://localhost:8888` `Access-Control-Allow-Credentials: true` This allows an attacker-controlled site (on a different port, like 8888) to send credentialed requests to the Strapi backend on 1337. ### Suggested Fix 1. Explicitly whitelist trusted origins 2. Avoid reflecting dynamic origins

CVE-2025-53092 Affected @strapi/core Versions

1 component(s)
Fixed Versions:
5.20.0
Product / Package Ecosystem Affected Versions Fixed Version
@strapi/core
npm
< 5.20.0
5.20.0

References

Frequently Asked Questions

What is CVE-2025-53092?
CVE-2025-53092 is a security vulnerability in @strapi/core involving Strapi core vulnerable to sensitive data exposure via CORS misconfiguration under CWE-364: Signal Handler Race Condition.
Which @strapi/core versions are affected?
Affected versions include releases prior to 5.20.0 across affected packages: @strapi/core.
What version fixes CVE-2025-53092?
Upgrading to 5.20.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @strapi/core affected?
Yes, @strapi/core is affected in releases prior to 5.20.0. Upgrade your dependency to 5.20.0 or later.
What is the CVSS score of CVE-2025-53092?
CVE-2025-53092 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-53092?
CVE-2025-53092 is classified under CWE-364: Signal Handler Race Condition (The product uses a signal handler that introduces a race condition.).
How can I check npm dependencies for CVE-2025-53092?
Run the dependency tree command: 'npm ls @strapi/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9329-mxxw-qwf8",
  "modified" : "2026-01-29T03:59:42Z",
  "published" : "2025-10-16T19:49:01Z",
  "aliases" : [ "CVE-2025-53092" ],
  "summary" : "Strapi core vulnerable to sensitive data exposure via CORS misconfiguration",
  "details" : "### 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",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@strapi/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.20.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/strapi/strapi/security/advisories/GHSA-9329-mxxw-qwf8"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-53092"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/strapi/strapi/commit/6e535cb756"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/strapi/strapi"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/strapi/strapi/releases/tag/v5.20.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-284", "CWE-364", "CWE-942" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-16T19:49:01Z",
    "nvd_published_at" : "2025-10-16T17:15:33Z"
  }
}