ADVISORIES

GitHub Advisory Database

GHSA-mvqr-r76c-wm5f

Devise Token Auth vulnerable to Cross-site Scripting

Moderate CVE-2019-16751

Details

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsdevise_token_auth
From 0.1.33 before 1.1.3 (fixed in 1.1.3)

References