openaienmodel: gpt-5-mini-2025-08-07
v4.12.4
Key Points
- SSE control field injection fixed
- Cookie attribute injection fixed
- Serve Static URL-decoding bypass fixed
Summary
This patch release addresses three security vulnerabilities and a few minor fixes. Engineers using the Streaming Helper, hono cookie utility, or Serve Static middleware should upgrade immediately.
Key Points
- Security fixes:
- SSE Control Field Injection (streamSSE): rejects CR/LF in event, id, and retry to prevent unintended SSE fields (GHSA-p6xx-57qc-3wxr).
- Cookie Attribute Injection (setCookie in hono/cookie): rejects
;,\r, and\nin domain and path options to prevent attribute manipulation (GHSA-5pq2-9x2x-5p6w). - Middleware bypass in Serve Static: fixes inconsistent URL decoding that could allow protected static resources to bypass route-based middleware (GHSA-q5qw-h33p-qvwr).
- Other changes:
- fix(client): preserve route schema in ApplyGlobalResponse (PR #4777).
- fix(utils/url): specify return type of tryDecodeURI (PR #4779).
- New contributor: @agumy made their first contribution in #4777.
Action
- Upgrade to v4.12.4 if you use streamSSE, hono/cookie's setCookie, or Serve Static middleware.
References
Full changelog: v4.12.3...v4.12.4