A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Unjs unhead
Weakness type
References
- github.com /unjs/unhead/security/advisories/GHSA-5339-hvwr-7582
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning