npmWorst: Moderate4 advisories

unhead: known vulnerabilities

unhead has 4 reviewed security advisories in the GitHub Advisory Database — 2 moderate, 2 low. The most recent was published 2026-04-10. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the unhead versions running across your servers, containers and images, and ranks what to patch first.

How to fix unhead

Upgrade unhead to a release at or above the fixed version shown for each advisory below. For npm:

npm install unhead@3.0.1 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

unhead: Streaming SSR `streamKey` injected into inline script without identifier validation Low CWE-79 — Affected: from 3.0.0-beta.5 up to 3.0.1. Fixed in 3.0.1. Published 2026-04-10. GHSA-x7mm-9vvv-64w8
Unhead has a hasDangerousProtocol() bypass via leading-zero padded HTML entities in useHeadSafe() Moderate 6.1 CWE-184 — Affected: before 2.1.13. Fixed in 2.1.13. Published 2026-04-09. GHSA-95h2-gj7x-gx9w · CVE-2026-39315
Unhead Vulnerable to Bypass of URI Scheme Sanitization in makeTagSafe via Case-Sensitivity Low 0.0 CWE-79 — Affected: before 2.1.11. Fixed in 2.1.11. Published 2026-03-12. GHSA-5339-hvwr-7582 · CVE-2026-31873
Unhead has XSS bypass in `useHeadSafe` via attribute name injection and case-sensitive protocol check Moderate CWE-79 — Affected: before 2.1.11. Fixed in 2.1.11. Published 2026-03-12. GHSA-g5xx-pwrp-g3fv · CVE-2026-31860

Find unhead across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.