P3 · MediumCVSS 4.7EPSS 0.4%
AngleSharp before 1.8.6 Mutation XSS via HtmlMarkupFormatter Attribute Serialization
- CVE-2026-142223
- GHSA-wr8p-99xp-p48r
- EUVD-2026-141607
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.
Text from the CVE.org record.
Recommendation
AngleSharp
- If you run a version before 1.8.6update to 1.8.6 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
AngleSharp
Affected versions Fixed in before 1.8.6 1.8.6
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.