{"id":"CVE-2026-142223","aliases":["EUVD-2026-141607","GHSA-wr8p-99xp-p48r"],"status":"published","title":"AngleSharp before 1.8.6 Mutation XSS via HtmlMarkupFormatter Attribute Serialization","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 \u003c/noscript\u003e followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.","severity":{"version":"4.0","score":2.3,"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","level":"low","assessor":"cna","from":"cve","others":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":2.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00404,"percentile":0.36762,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2026-12-02T16:50:22Z","modified":"2026-12-04T20:45:43Z","products":[{"vendor":"anglesharp","product":"anglesharp"}],"references":[{"url":"https://github.com/AngleSharp/AngleSharp/blob/v1.8.5/src/AngleSharp/Html/HtmlMarkupFormatter.cs#L130-L144","tags":["technical-description","article"]},{"url":"https://github.com/AngleSharp/AngleSharp/commit/86d09cdc7fa45f8739fc5892bbca4c1a04be6dae","tags":["patch","fix"]},{"url":"https://github.com/AngleSharp/AngleSharp/releases/tag/v1.8.6","tags":["release-notes","advisory"]},{"url":"https://www.vulncheck.com/advisories/anglesharp-before-1.8.6-mutation-xss-via-htmlmarkupformatter-attribute-serialization","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142223","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wr8p-99xp-p48r"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142223.json","tags":["advisory"]},{"url":"https://github.com/AngleSharp/AngleSharp","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142223","title":"AngleSharp before 1.8.6 Mutation XSS via HtmlMarkupFormatter Attribute Serialization","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 \u003c/noscript\u003e followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.","status":"published","published":"2026-12-02T16:50:22.038Z","modified":"2026-12-03T14:45:09.146Z","cvss":[{"version":"4.0","score":2.3,"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","level":"low","assessor":"cna"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T14:55:40.340192Z"}],"euvd":[{"id":"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 \u003c/noscript\u003e followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.","status":"published","published":"2026-12-02T16:50:22Z","modified":"2026-12-03T14:45:09Z","cvss":[{"version":"4.0","score":2.3,"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","level":"low"}],"updated_at":"2026-12-02T21:27:23.327078Z"}],"ghsa":[{"id":"GHSA-wr8p-99xp-p48r","title":"AngleSharp before 1.8.6 contains a mutation cross-site scripting vulnerability in...","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 \u003c/noscript\u003e followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.","status":"published","published":"2026-12-02T18:31:46Z","modified":"2026-12-02T18:31:47Z","cvss":[{"version":"4.0","score":2.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-12-02T18:38:43.029055Z"}],"nvd":[{"id":"CVE-2026-142223","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 \u003c/noscript\u003e followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.","status":"published","published":"2026-12-02T17:17:45.12Z","modified":"2026-12-03T15:17:05.163Z","cvss":[{"version":"4.0","score":2.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T15:17:27.288122Z"}],"osv":[{"id":"CVE-2026-142223","title":"AngleSharp before 1.8.6 Mutation XSS via HtmlMarkupFormatter Attribute Serialization","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 \u003c/noscript\u003e followed by an img element with an onerror handler in a noscript child attribute, executing script when browsers parse the re-serialized output.","status":"published","published":"2026-12-02T16:50:22.038Z","modified":"2026-12-04T20:45:43.862999644Z","cvss":[{"version":"4.0","score":2.3,"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","level":"low"}],"cwes":["CWE-79"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
