AngleSharp before 1.8.6 contains a mutation cross-site scripting vulnerability in HtmlMarkupFormatter.WriteAttributeValue, which writes less-than and greater-than characters unescaped in serialized attribute values
Source GCVE Database
Not known to be exploited · CVSS 2.3 Low : upgrade to 1.8.6 when convenient.
Data as of 2 Dec 2026, 19:46 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.7 |
- Patch
- Available – fixed in 1.8.6
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade AngleSharp to 1.8.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| AngleSharpAngleSharp | Affected
| Fixed in
|
NuGetAngleSharppkg:nuget/AngleSharpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
AngleSharp before 1.8.6 contains a mutation cross-site scripting vulnerability in HtmlMarkupFormatter.WriteAttributeValue, which writes less-than and greater-than characters unescaped in serialized attribute values. Attackers can embed </noscript> followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.
References
- nvd.nist.gov/vuln/detail/CVE-2026-142223 (opens in a new tab)
- github.com/AngleSharp/AngleSharp/commit/86d09cdc7fa45f8739fc5892bbca4c1a04be6dae (opens in a new tab)
- github.com/AngleSharp/AngleSharp/blob/v1.8.5/src/AngleSharp/Html/HtmlMarkupFormatter.cs (opens in a new tab)
- github.com/AngleSharp/AngleSharp/releases/tag/v1.8.6 (opens in a new tab)
- vulncheck.com/advisories/anglesharp-before-1.8.6-mutation-xss-via-htmlmarkupformatter-attribute-serialization (opens in a new tab)