Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-39315: Unhead is a document head and template manager

32
Routine
MEDIUM 6.1UPGRADE

CVE-2026-39315 is a medium-severity flaw (CVSS 6.1) affecting unhead. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Unhead is a document head and template manager. Prior to 2.1.13, useHeadSafe() is the composable that Nuxt's own documentation explicitly recommends for rendering user-supplied content in <head> safely. Internally, the hasDangerousProtocol() function in packages/unhead/src/plugins/safe.ts decodes HTML entities before checking for blocked URI schemes (javascript:, data:, vbscript:). The decoder uses two regular expressions with fixed-width digit c

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.3% (top 79%)
CISA exploited listNo
WeaknessCWE-184
Published2026-04-09
Last modified2026-10-26
Publisher (CNA): GitHub, Inc. · Vendor: unjs

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

unjs unhead UPGRADE
Affected: < 2.1.13
Fixed in: 2.1.13
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls unhead
2. UPGRADE to 2.1.13
npm install unhead@">=2.1.13"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-39315?

unhead: upgrade to 2.1.13. Exact commands for each OS are on this page.

Is CVE-2026-39315 being exploited?

CVE-2026-39315 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-39315 affect?

CVE-2026-39315 affects unhead. Severity is medium (CVSS 6.1). Unhead is a document head and template manager. Prior to 2.1.13, useHeadSafe() is the composable that Nuxt's own documentation explicitly recommends for rendering user-supplied content in <head> safely. Internally, the hasDangerousProtocol(

How urgent is CVE-2026-39315?

Priority 32/100. Public exploit reference

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.