{"id":"GHSA-mvqr-r76c-wm5f","summary":"Devise Token Auth vulnerable to Cross-site Scripting","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.","aliases":["CVE-2019-16751"],"modified":"2024-02-16T08:20:58.064778Z","published":"2022-05-24T16:56:43Z","database_specific":{"github_reviewed_at":"2023-03-08T19:56:02Z","nvd_published_at":"2019-09-24T18:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16751"},{"type":"WEB","url":"https://github.com/lynndylanhurley/devise_token_auth/issues/1332"},{"type":"PACKAGE","url":"https://github.com/lynndylanhurley/devise_token_auth"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise_token_auth/CVE-2019-16751.yml"}],"affected":[{"package":{"name":"devise_token_auth","ecosystem":"RubyGems","purl":"pkg:gem/devise_token_auth"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.33"},{"fixed":"1.1.3"}]}],"versions":["0.1.33","0.1.34","0.1.35","0.1.36","0.1.37","0.1.37.beta1","0.1.37.beta2","0.1.37.beta3","0.1.37.beta4","0.1.38","0.1.39","0.1.40","0.1.41","0.1.42","0.1.43","0.1.43.beta1","0.2.0","1.0.0","1.0.0.rc1","1.0.0.rc2","1.1.0","1.1.1","1.1.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mvqr-r76c-wm5f/GHSA-mvqr-r76c-wm5f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}