CVE-2025-53092: Strapi core vulnerable to sensitive data exposure via CORS misconfiguration

Published Oct 16, 2025
·
Updated

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

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
Strapi Strapi<5.20.0
npm/@strapi/core<5.20.0
5.20.0
Strapi Strapi<5.20.0

Event History

Oct 16, 2025
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
Affected Software
Advisory Published
via GitHub·07:49 PM
Data Sourced
via GitHub·07:49 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-53092?

CVE-2025-53092 is considered a high severity vulnerability due to its potential impact on CORS misconfigurations.

2

How do I fix CVE-2025-53092?

To fix CVE-2025-53092, upgrade Strapi to version 5.20.0 or later to mitigate the CORS misconfiguration.

3

What is the primary vulnerability in CVE-2025-53092?

The primary vulnerability in CVE-2025-53092 is a CORS misconfiguration that reflects the Origin header value in the Access-Control-Allow-Origin response.

4

Which versions of Strapi are affected by CVE-2025-53092?

Strapi versions prior to 5.20.0 are affected by CVE-2025-53092.

5

What are the risks associated with CVE-2025-53092?

The risks associated with CVE-2025-53092 include unauthorized cross-origin requests that could compromise data security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203