AUGUST 4, 2026
Live Feed
Back to database
Case File

CVE-2026-31860

MEDIUM · CVSS 6.1 EPSS 0.26% Public Exploit

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2026-03-12 · Last synced 2026-08-04

CyberRota Analysis

This is a medium severity vulnerability with a CVSS score of 6.1. Public exploit code or proof-of-concept references have been detected in its references.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-31860
Severity
MEDIUM
CVSS
6.1
EPSS
0.26%

Original NVD Description

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 <head> tags. This is the composable that Nuxt docs recommend for safely handling user-generated content. The acceptDataAttrs function (safe.ts, line 16-20) allows any property key starting with data- through to the final HTML. It only checks the prefix, not whether the key contains spaces or other characters that break HTML attribute parsing. This vulnerability is fixed in 2.1.11.

Related CVEs

Other vulnerabilities affecting the same vendor(s)