提交 #956810: garycourt uri-js 4.4.1 Missing Undefined Check on Mailto URI 'to' Header Parser信息

标题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)
提交2026-09-02 09時43分 (29 日前)
管理2026-09-30 16時07分 (28 days later)
状态已接受
VulDB条目412124 [garycourt uri-js 直到 4.4.1 Mailto Header src/schemes/mailto.ts URI.parse 拒绝服务]
积分20

Do you know our Splunk app?

Download it now for free!