Download Latest Version @tinyhttp_app@3.0.11 source code.zip (507.9 kB)
Email in envelope

Get an email when there's a new version of tinyhttp

Home / @tinyhttp_app@3.0.11
Name Modified Size InfoDownloads / Week
Parent folder
@tinyhttp_app@3.0.11 source code.tar.gz 2026-08-10 370.0 kB
@tinyhttp_app@3.0.11 source code.zip 2026-08-10 507.9 kB
README.md 2026-08-10 818 Bytes
Totals: 3 Items   878.6 kB 0

Patch Changes

  • 0d81969: fix: sanitize default error handler output (GHSA-rqg5-h5qr-gp89)

    The default onErrorHandler reflected attacker-influenced error content (route params, query strings, cookies, etc.) byte-for-byte into the response body with no escaping and no Content-Type, which browsers could MIME-sniff as HTML and execute (reflected XSS).

    • Escape all reflected error content using the existing escapeHTML helper.
    • Always set Content-Type: text/plain; charset=utf-8 and X-Content-Type-Options: nosniff on error responses.
    • Suppress raw error details when NODE_ENV === 'production'.

    escapeHTML is now exported from @tinyhttp/res so it can be reused framework-wide.

  • Updated dependencies [0d81969]

    • @tinyhttp/res@2.2.15
Source: README.md, updated 2026-08-10