Skip to content

Security Finding (Informational) SEC-025: Debug Tokens Exposed in CORS Headers #182

Description

@DyanGalih

Finding ID: SEC-025
Location: config/packages/nelmio_cors.yaml

CORS expose_headers includes X-Debug-Token and X-Debug-Token-Link, exposing profiler/debug URLs in cross-origin responses.

Impact: Debug tokens and profiler URLs may be leaked to cross-origin clients.

Remediation (short): Remove these debug headers from production CORS configuration.

Reference: SECURITY_REVIEW.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions