PT-2026-76933 · Grav · Grav-Plugin-Api
CVSS v3.1
4.2
Medium
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Grav API plugin versions prior to 1.0.14
Description
An open redirect weakness exists in the
SsoController::sanitizeReturnTo() function. The function fails to account for browsers that normalize backslashes to slashes in http or https schemes. Consequently, a returnTo value containing a backslash, such as /evil.com, can bypass the security guard and be interpreted by the browser as a protocol-relative URL. This allows an attacker to use the returnTo parameter during a legitimate OAuth login flow to redirect an authenticated user to a malicious site for phishing purposes.Recommendations
Update Grav API plugin to version 1.0.14 or later.
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Grav-Plugin-Api