VYPR

npm package

unhead

pkg:npm/unhead

Vulnerabilities (3)

  • CVE-2026-39315MedApr 9, 2026
    affected < 2.1.13fixed 2.1.13

    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 safely. Internally, the hasDangerousProtocol() function in packages/unhead/src/plugin

  • CVE-2026-31873Mar 12, 2026
    affected < 2.1.11fixed 2.1.11

    Unhead is a document head and template manager. Prior to 2.1.11, The link.href check in makeTagSafe (safe.ts) uses String.includes(), which is case-sensitive. Browsers treat URI schemes case-insensitively. DATA:text/css,... is the same as data:text/css,... to the browser, but 'DA

  • CVE-2026-31860Mar 12, 2026
    affected < 2.1.11fixed 2.1.11

    Unhead is a document head and template manager. Prior to 2.1.11, useHeadSafe() can be bypassed to inject arbitrary HTML attributes, including event handlers, into SSR-rendered tags. This is the composable that Nuxt docs recommend for safely handling user-generated content.