Devise Token Auth vulnerable to Cross-site Scripting
Moderate severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Jul 17, 2023
Description
Published by the National Vulnerability Database
Sep 24, 2019
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Mar 8, 2023
Last updated
Jul 17, 2023
An issue was discovered in Devise Token Auth through 1.1.2. The omniauth failure endpoint is vulnerable to Reflected Cross Site Scripting (XSS) through the message parameter. Unauthenticated attackers can craft a URL that executes a malicious JavaScript payload in the victim's browser. This affects the
fallback_render
method in the omniauth callbacks controller.References