Description

Your Symfony web application is configured to run in development mode.

A typical Symfony application begins with three environments: dev (for local development), prod (for production servers) and test (for automated tests). When your application is in development mode, detailed error messages with stack traces will be shown on every error that occurs within your application.

When running in production it's recommended to use the production environment.

Remediation

To switch to the production environment set the APP_ENV environment variable value to prod in the .env environment configuration file.

# .env or .env.local
APP_ENV=prod

References

Related Vulnerabilities