{"id":"CVE-2019-16751","aliases":["EUVD-2022-4629","GHSA-mvqr-r76c-wm5f"],"status":"published","title":"Devise Token Auth vulnerable to Cross-site Scripting","description":"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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00927,"percentile":0.60804,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2019-09-24T17:14:08Z","modified":"2026-10-20T10:52:27Z","fixes":[{"ecosystem":"RubyGems","package":"devise_token_auth","fixed_in":["1.1.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"devise_token_auth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.33"},{"fixed":"1.1.3"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"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"]}],"products":[{"vendor":"devise_token_auth_project","product":"devise_token_auth"}],"references":[{"url":"https://github.com/lynndylanhurley/devise_token_auth/issues/1332","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16751","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise_token_auth/CVE-2019-16751.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mvqr-r76c-wm5f"},{"url":"https://github.com/lynndylanhurley/devise_token_auth","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-16751","description":"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.","status":"published","published":"2019-09-24T17:14:08Z","modified":"2024-08-05T01:24:47.102Z","updated_at":"2026-11-02T14:32:23.485011Z"}],"euvd":[{"id":"EUVD-2022-4629","description":"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.","status":"published","published":"2019-09-24T17:14:08Z","modified":"2024-08-05T01:24:47Z","updated_at":"2026-11-03T02:40:31.903592Z"}],"ghsa":[{"id":"GHSA-mvqr-r76c-wm5f","title":"Devise Token Auth vulnerable to Cross-site Scripting","description":"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.","status":"published","published":"2022-05-24T16:56:43Z","modified":"2023-07-17T21:15:04Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:57.310051Z"}],"nvd":[{"id":"CVE-2019-16751","description":"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.","status":"published","published":"2019-09-24T18:15:11.03Z","modified":"2026-06-17T02:22:43.553Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:05:28.126831Z"}],"osv":[{"id":"CVE-2019-16751","description":"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.","status":"published","published":"2019-09-24T18:15:11.03Z","modified":"2026-10-20T10:52:27.437897693Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:11.673963Z"},{"id":"GHSA-mvqr-r76c-wm5f","title":"Devise Token Auth vulnerable to Cross-site Scripting","description":"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.","status":"published","published":"2022-05-24T16:56:43Z","modified":"2024-02-16T08:20:58.064778Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:52.170928Z"}]}}
