Medium
4.7
AngleSharp before 1.8.6 Mutation XSS via HtmlMarkupFormatter Attribute Serialization
CVE-2026-142223
First seen on SecPulse
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| AngleSharpAngleSharp |
< 1.8.6→ 1.8.6 |
1.8.6 |
Original description The description as published by the source.
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 followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com