Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-31860

22
FAUCET Score

CVE-2026-31860 is a medium-severity HTML attribute injection vulnerability affecting unjs unhead versions prior to 2.1.11. It allows an attacker to bypass the `useHeadSafe()` function, intended for secure content handling, to inject arbitrary HTML attributes and event handlers into server-side rendered <head> tags. Rated CVSS 6.1, this vulnerability has a network attack vector and low complexity, but requires user interaction, potentially leading to low impact on confidentiality and integrity. There is currently no evidence of active exploitation, public exploit code, or significant community discussion or media coverage. Organizations utilizing unjs unhead should upgrade to version 2.1.11 or later to mitigate this risk.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.1.11CPE matchmatch criteria
cpe:2.3:a:unjs:unhead:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 4.0

5.3MEDIUM

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
VS Confidentiality
NONE
VS Integrity
NONE
VS Availability
NONE
SS Confidentiality
LOW
SS Integrity
LOW
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
0.26%
Probability of exploitation in next 30 days
EPSS Percentile
17.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0026 is in the 18th percentile among its peer group of 26,234 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

npmpatch availablevia ghsa
Product: unheadFixed in: 2.1.11

Vendor Advisories (1)

npmGHSA-g5xx-pwrp-g3fvmedium

Unhead has XSS bypass in `useHeadSafe` via attribute name injection and case-sensitive protocol check

Mar 12, 2026

References

github.com / unjs/unhead/security/advisories/GHSA-g5xx-pwrp-g3fv
ExploitMitigationVendor Advisory