| शीर्षक | garycourt uri-js 4.4.1 Missing Undefined Check on Mailto URI 'to' Header Parser |
|---|
| विवरण | While 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. |
|---|
| स्रोत | ⚠️ https://github.com/garycourt/uri-js/issues/103 |
|---|
| उपयोगकर्ता | Yu Bao from PayPal Cyber Security Team (UID 99838) |
|---|
| सबमिशन | 02/09/2026 09:43 AM (29 दिन पहले) |
|---|
| संयम | 30/09/2026 04:07 PM (28 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 412124 [garycourt uri-js तक 4.4.1 Mailto Header src/schemes/mailto.ts URI.parse सेवा अस्वीकार] |
|---|
| अंक | 20 |
|---|