unhead: Streaming SSR `streamKey` injected into inline script without identifier validation
- Severity:
- Low
Description
createStreamableHead({ streamKey }) interpolated its streamKey argument directly into the streaming SSR bootstrap and suspense-chunk inline scripts without identifier validation or escaping. If an application forwards untrusted data into that configuration value, the rendered scripts become a script-injection sink.
Recommendation
Update the unhead package to the latest compatible version. Followings are version details:
- Affected version(s): >= 3.0.0-beta.5, <= 3.0.0
- Patched version(s): 3.0.1
References
Related Issues
- Flowise: RCE via CSVAgent csvFile data URI base64 segment is interpolated into Python source without validation - CVE-2026-69264
- Cordova Plugin InAppBrowser: iOS: Arbitrary Cordova callback IDs can be dispatched without validation from InAppBrowser - CVE-2026-47430
- @asymmetric-effort/specifyjs: No redirect target validation in secureFetch - Vulnerability
- @asymmetric-effort/specifyjs: `data:` URI allowed without size restriction - Vulnerability
You might also like:
- Tags:
- npm
- unhead
Anything's wrong? Let us know Last updated on April 10, 2026


