# CVE-2026-54570: AngleSharp: HTML5 Spec Compliance: mXSS via annotation-xml HTML Integration Point Bypass

- Severity: Medium 6.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-17T21:17:10.000Z
- Modified: 2026-09-18T20:09:01.757Z
- Also known as: GHSA-pgww-w46g-26qg
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

AngleSharp is a .NET library for parsing angle bracket based hyper-texts. Prior to 1.5.0, MathAnnotationXmlElement in AngleSharp/Mathml/Dom/Internal/MathAnnotationXmlElement.cs is not treated as an HTML integration point when its encoding attribute is text/html or application/xhtml+xml, causing Consume in AngleSharp/Html/Parser/HtmlDomBuilder.cs to route tokens through foreign-content parsing instead of HTML parsing. A sanitizer can therefore observe a different DOM from the browser that reparses the serialized output. An attacker can combine this namespace differential with markup-breaking characters in an attribute value so that an element hidden from the sanitizer becomes active script-capable HTML after browser reparse, resulting in mutation cross-site scripting. This issue is fixed in version 1.5.0.

(As written by CVE List.)

## Affected

- AngleSharp AngleSharp: < 1.5.0
- AngleSharp (NuGet): before 1.5.0

## Every score

- GitHub_M: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N`
- GitHub: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N`

## References

- <https://github.com/AngleSharp/AngleSharp/security/advisories/GHSA-pgww-w46g-26qg> (exploit, web)
- <https://github.com/AngleSharp/AngleSharp/commit/8033a5c690af9c2c443f58e34875343fa4cc1d07>
- <https://github.com/AngleSharp/AngleSharp/releases/tag/1.5.0> (web)
- <https://github.com/AngleSharp/AngleSharp> (package)

## Sources

- CVE List: [CVE-2026-54570](https://www.cve.org/CVERecord?id=CVE-2026-54570), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-pgww-w46g-26qg](https://github.com/advisories/GHSA-pgww-w46g-26qg), CC-BY-4.0, modified 2026-07-17
- NVD: [CVE-2026-54570](https://nvd.nist.gov/vuln/detail/CVE-2026-54570), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-54570 · Whole record: https://cve.day/CVE-2026-54570.json · Rebuilt by cve.day 2026-11-25T22:59:33.538Z
