CVE Explorer
CVE-2026-39315
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 l
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"unhead","vendor":"unjs","versions":[{"status":"affected","version":"< 2.1.13"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:635ce2c10c30a1c0b48e4950b19e3dd4523ffd01353761a8f56de24c2ea5cdd4 · sha256:1dac14a148126c6c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:635ce2c10c30a1c0b48e4950b19e3dd4523ffd01353761a8f56de24c2ea5cdd4 · sha256:1dac14a148126c6c… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-184","description":"CWE-184: Incomplete List of Disallowed Inputs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:635ce2c10c30a1c0b48e4950b19e3dd4523ffd01353761a8f56de24c2ea5cdd4 · sha256:1dac14a148126c6c… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/unjs/unhead/commit/961ea781e091853812ffe17f8cda17105d2d2299","tags":["x_refsource_MISC"],"url":"https://github.com/unjs/unhead/commit/961ea781e091853812ffe17f8cda17105d2d2299"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:635ce2c10c30a1c0b48e4950b19e3dd4523ffd01353761a8f56de24c2ea5cdd4 · sha256:1dac14a148126c6c… · /containers/cna/references/1
{"name":"https://github.com/unjs/unhead/releases/tag/v2.1.13","tags":["x_refsource_MISC"],"url":"https://github.com/unjs/unhead/releases/tag/v2.1.13"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:635ce2c10c30a1c0b48e4950b19e3dd4523ffd01353761a8f56de24c2ea5cdd4 · sha256:1dac14a148126c6c… · /containers/cna/references/2
{"name":"https://github.com/unjs/unhead/security/advisories/GHSA-95h2-gj7x-gx9w","tags":["x_refsource_CONFIRM"],"url":"https://github.com/unjs/unhead/security/advisories/GHSA-95h2-gj7x-gx9w"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:635ce2c10c30a1c0b48e4950b19e3dd4523ffd01353761a8f56de24c2ea5cdd4 · sha256:1dac14a148126c6c… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/unjs/unhead/security/advisories/GHSA-95h2-gj7x-gx9w"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:635ce2c10c30a1c0b48e4950b19e3dd4523ffd01353761a8f56de24c2ea5cdd4 · sha256:1dac14a148126c6c… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.