Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-31873

0.0 · NONE
Published Mar 12, 2026 unjs CWE-79

Overview

CVE-2026-31873 is a none-severity vulnerability affecting unjs unhead. It was published on March 12, 2026 and has a CVSS 3.1 base score of 0.0 (NONE).

This vulnerability has a CVSS 3.1 base score of 0.0, rated NONE. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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 'DATA:...'.includes('data:') returns false. An attacker can inject arbitrary CSS for UI redressing or data exfiltration via CSS attribute selectors with background-image callbacks. This vulnerability is fixed in 2.1.11.

Remediation

Check the references section for vendor advisories and patches from unjs. Update unhead to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
unjs unhead >= 0, < 2.1.11 Affected

Frequently Asked Questions

What is CVE-2026-31873?

CVE-2026-31873 is a none-severity vulnerability affecting unjs unhead. It was published on March 12, 2026 and has a CVSS 3.1 base score of 0.0 (NONE).

How severe is CVE-2026-31873?

This vulnerability has a CVSS 3.1 base score of 0.0, rated NONE. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-31873?

Check the references section for vendor advisories and patches from unjs. Update unhead to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-31873?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-31873 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.

Browse by year 2026