Enviar #956810: garycourt uri-js 4.4.1 Missing Undefined Check on Mailto URI 'to' Header Parserinformación

Títulogarycourt uri-js 4.4.1 Missing Undefined Check on Mailto URI 'to' Header Parser
DescripciónWhile auditing uri-js's scheme handlers for exception safety, I noticed the mailto handler's query-header parser has four branches (to, subject, body, default) that all handle a missing header value the same way, except one. The to branch skips the guard and calls .split(",") directly on a value that can be undefined, so any mailto URI with a bare to token in the query crashes URI.parse() with an uncaught TypeError.
Fuente⚠️ https://github.com/garycourt/uri-js/issues/103
Usuario
 Yu Bao from PayPal Cyber Security Team (UID 99838)
Sumisión2026-09-02 09:43 (hace 29 días)
Moderación2026-09-30 16:07 (28 days later)
EstadoAceptado
Entrada de VulDB412124 [garycourt uri-js hasta 4.4.1 Mailto Header src/schemes/mailto.ts URI.parse denegación de servicio]
Puntos20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!