Soumettre #956810: garycourt uri-js 4.4.1 Missing Undefined Check on Mailto URI 'to' Header Parserinformation

Titregarycourt uri-js 4.4.1 Missing Undefined Check on Mailto URI 'to' Header Parser
DescriptionWhile 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.
La source⚠️ https://github.com/garycourt/uri-js/issues/103
Utilisateur
 Yu Bao from PayPal Cyber Security Team (UID 99838)
Soumission02/09/2026 09:43 (il y a 29 jours)
Modérer30/09/2026 16:07 (28 days later)
StatutAccepté
Entrée VulDB412124 [garycourt uri-js jusqu’à 4.4.1 Mailto Header src/schemes/mailto.ts URI.parse déni de service]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!