CVE-2026-31860
1 advisory.
npm/unhead CVE-2026-31860: medium, EPSS 0.28%
Unhead has XSS bypass in `useHeadSafe` via attribute name injection and case-sensitive protocol check
Action: Upgrade unhead to 2.1.11 or later.
npm i unhead@2.1.11Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 2.1.11 | - |
Fixed versions
| 2.1.11 |
Sources
- osv: GHSA-g5xx-pwrp-g3fv
- https://github.com/unjs/unhead/security/advisories/GHSA-g5xx-pwrp-g3fv
- https://nvd.nist.gov/vuln/detail/CVE-2026-31860
- https://github.com/unjs/unhead/commit/9ecc4f9568b0e23938f36d4b23fcfa4a18a89045
- https://github.com/unjs/unhead
- https://github.com/unjs/unhead/releases/tag/v2.1.11
CVE-2026-31860 · published · modified · JSON