CVE-2025-23047: Nginx Permissive Cors Wildcard

An insecure wildcard CORS origin (`*`) was found in an Nginx configuration. This allows any cross-origin site to access resources and API responses. Remove the wildcard origin to enforce the same-origin policy, or restrict it to trusted, specific domains.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Generic
greprules fetch cve-2025-23047-nginx-permissive-cors-wildcard --engine opengrep

Description

An insecure wildcard CORS origin (`*`) was found in an Nginx configuration. This allows any cross-origin site to access resources and API responses. Remove the wildcard origin to enforce the same-origin policy, or restrict it to trusted, specific domains.