User input detected in a session key.

Description

Using user-defined data in a session key is bad practice and can allow attackers to perform unsafe actions.

Remediations

❌ Avoid using user-defined data in session keys

Resources

Associated CWE

OWASP Top 10

Configuration

To skip this rule during a scan, use the following flag

bearer scan /path/to/your-project/ --skip-rule=php_symfony_session_key_using_user_input

To run only this rule during a scan, use the following flag

bearer scan /path/to/your-project/ --only-rule=php_symfony_session_key_using_user_input

Ready to take the next step? Learn more about Bearer Cloud.