Advisory

GHSA-mvqr-r76c-wm5f

Also known as: CVE-2019-16751

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 16:56 UTC
Modified
2024-02-16 08:20 UTC

Affected packages and fixes

devise_token_auth

RubyGems · All systems

Affected

  • introduced 0.1.33, fixed 1.1.3 (ecosystem)

Fixed versions

1.1.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences