CVE-2026-64941

URL Redirection to Untrusted Site ('Open Redirect') vulnerability in phoenixframework phoenix_live_view allows an attacker to send a victim's browser to an origin of the attacker's choosing via a :to value containing ASCII tab, LF or CR. redirect/2 validates :to through the private validate_local_url!/2 in lib/phoenix_live_view.ex, which is intended to guarantee the target is a path within the application. It rejects a leading // and any backslash, but not ASCII tab, LF or CR. Browsers strip those three characters before parsing a URL, so a value such as /<TAB>/example.com passes validation as a path and is then resolved as the scheme-relative URL //example.com. The live navigation functions share the guard but are not affected, because the client expands their target against the current origin. push_patch/2 is also affected before 0.7.0, which is when that expansion was added. This issue affects phoenix_live_view: from 0.5.0 before 1.0.19, from 1.1.0-rc.0 before 1.1.33, and from 1.2.0-rc.0 before 1.2.9.
CVSS

No CVSS.

Configurations

No configuration.

History

23 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de redirección de URL a sitio no confiable (’redirección abierta’) en phoenixframework phoenix_live_view permite a un atacante enviar el navegador de una víctima a un origen elegido por el atacante a través de un valor :to que contiene tabulador ASCII, LF o CR. redirect/2 valida :to a través de la función privada validate_local_url!/2 en lib/phoenix_live_view.ex, que está destinada a garantizar que el objetivo sea una ruta dentro de la aplicación. Rechaza un // inicial y cualquier barra invertida, pero no el tabulador ASCII, LF o CR. Los navegadores eliminan esos tres caracteres antes de analizar una URL, por lo que un valor como /[TAB]/example.com pasa la validación como una ruta y luego se resuelve como la URL relativa al esquema //example.com. Las funciones de navegación en vivo comparten la protección pero no se ven afectadas, porque el cliente expande su objetivo contra el origen actual. push_patch/2 también se ve afectado antes de 0.7.0, que es cuando se añadió esa expansión. Este problema afecta a phoenix_live_view: desde 0.5.0 antes de 1.0.19, desde 1.1.0-rc.0 antes de 1.1.33, y desde 1.2.0-rc.0 antes de 1.2.9.

Information

Published : 2026-08-10 12:17

Updated : 2026-10-24 16:10


NVD link : CVE-2026-64941

Mitre link : CVE-2026-64941

CVE.ORG link : CVE-2026-64941


JSON object : View

Products Affected

No product.

CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')