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
Could your website be exposed too?
SmartScanner can check your website for unhead: Streaming SSR `streamKey` injected into inline script without identifier validation and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Flowise: RCE via CSVAgent csvFile data URI base64 segment is interpolated into Python source without validation - CVE-2026-69264
- @tinacms/web-components: `tina-markdown` writes rich-text link URLs into `href` without scheme validation, allowing stor - CVE-2026-108260
- RSA-PSS signature validation vulnerability by prepending zeros in jsrsasign - CVE-2020-14968
- Clipboard feature vulnerability allowing to inject arbitrary HTML into the editor using paste functionality - CVE-2021-32809


