CVE-2019-16751 json
Devise Token Auth vulnerable to Cross-site Scripting
published 2019-09-24 7 y ago modified 2026-06-17 4 mo ago also GHSA-mvqr-r76c-wm5f , EUVD-2022-4629
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems devise_token_auth 1.1.3
Exploit prediction
0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/lynndylanhurley/devise_token_auth/issues/1332 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | devise_token_auth | >=0.1.33, <1.1.3 |
1.1.3 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/lynndylanhurley/devise_token_auth/issues/1332
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-16751
advisory
-
github.com
/lynndylanhurley/devise_token_auth
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/devise_token_auth/CVE-2019-16751.yml
web
Sources
- CVE List CVE-2019-16751
- GitHub Advisory GHSA-mvqr-r76c-wm5f
- NVD CVE-2019-16751
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.