Advisory

GHSA-9329-mxxw-qwf8

Also known as: CVE-2025-53092

Summary

Strapi core vulnerable to sensitive data exposure via CORS misconfiguration

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-10-16 19:49 UTC
Modified
2026-02-03 03:03 UTC

Affected packages and fixes

@strapi/core

npm · All systems

Affected

  • introduced 0, fixed 5.20.0 (semver)

Fixed versions

5.20.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences