All vulnerabilities

NuGet

CVE-2026-142223

AngleSharp before 1.8.6 Mutation XSS via HtmlMarkupFormatter Attribute Serialization

Severity
Low 2.3
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Fixed in
1.8.6
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read some data · Change some data
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Sources
CVE Program

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 followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.

From the CVE Program.

Affected software

SoftwareAffected versions
AngleSharpNuGet · osv:NuGet:AngleSharp
  • Every version before 1.8.6

About AngleSharp

Total downloads (NuGet)
391,052,110NuGet, 2 Dec 2026

This is the only vulnerability in AngleSharp in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142223