CVE & CISA-KEV Catalog

CVE-2026-39315

MEDIUM
6.1
CVSS v3
NVD

Description

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 caps. The HTML5 specification imposes no limit on leading zeros in numeric character references. When a padded entity exceeds the regex digit cap, the decoder silently skips it. The undecoded string is then passed to startsWith('javascript:'), which does not match. makeTagSafe() writes the raw value directly into SSR HTML output. The browser's HTML parser decodes the padded entity natively and constructs the blocked URI. This vulnerability is fixed in 2.1.13.

How to fix

Remediation Available
unheadNVD
Affected:< 2.1.13Fixed in:2.1.13CVE-2026-39315derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploit Intelligence

0.29%probability of exploitation in 30 days
20thpercentile

Low risk: more likely to be exploited than 20% of all known CVEs.

References

Exploit1
Release Notes1
Embed a live status badge for CVE-2026-39315
CVE-2026-39315 severity badge

Markdown

[![CVE-2026-39315](https://tridentstack.com/cve/badge/CVE-2026-39315.svg)](https://tridentstack.com/cve/CVE-2026-39315)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-39315"><img src="https://tridentstack.com/cve/badge/CVE-2026-39315.svg" alt="CVE-2026-39315"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-14.