Open Redirect Vulnerability in Rails 7.0.4.1 by Ruby on Rails
CVE-2023-22797
6.1MEDIUM
What is CVE-2023-22797?
An open redirect vulnerability was addressed in Rails 7.0.4.1, which implemented enhanced protection against untrusted user input when using the redirect_to method. Earlier versions placed the onus on developers to ensure that the input was safe, potentially allowing attackers to exploit the system with strategically crafted URLs and redirect users to untrusted sites. The new mechanism aims to mitigate this risk by enforcing stricter validation checks.
Affected Version(s)
https://github.com/rails/rails 7.0.4.1