CVE-2026-31873 is a cross-site scripting (XSS) vulnerability affecting Unhead, a document head and template manager, prior to version 2.1.11. The flaw arises from a case-sensitive check in the `makeTagSafe` function, which attackers can bypass to inject arbitrary CSS. This medium-severity vulnerability (CVSS 6.1) can be exploited remotely with low complexity, requiring user interaction, potentially leading to UI redressing or data exfiltration. There is currently no evidence of active exploitation, public exploit code, or significant community discussion regarding this CVE.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 2.1.11CPE matchmatch criteria | cpe:2.3:a:unjs:unhead:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
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.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.