CVE-2026-25543
Last modified
CVE-2026-25543 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. Prior to versions 9.0.892 and 9.1.893-beta, if the template tag is allowed, its contents are not sanitized. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. Prior to versions 9.0.892 and 9.1.893-beta, if the template tag is allowed, its contents are not sanitized. The template tag is a special tag that does not usually render its contents, unless the shadowrootmode attribute is set to open or closed. This issue has been patched in versions 9.0.892 and 9.1.893-beta.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Htmlsanitizer Project | Htmlsanitizer | < 9.0.892 |
| Htmlsanitizer Project | Htmlsanitizer | >= 9.1.878, < 9.1.893 |
References
- https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-j92c-7v7g-gj3fMitigation, Patch, Vendor Advisory
- https://www.nuget.org/packages/HtmlSanitizer/9.0.892Product, Release Notes
- https://www.nuget.org/packages/HtmlSanitizer/9.1.893-betaProduct, Release Notes
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-25543?
How severe is CVE-2026-25543?
How do I fix CVE-2026-25543?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-25538Devtron is an open source tool integration platform for Kube…8.8
- CVE-2026-25539SiYuan is a personal knowledge management system. Prior to v…7.2
- CVE-2026-2554The WCFM – Frontend Manager for WooCommerce along with Booki…8.1
- CVE-2026-25540Mastodon is a free, open-source social network server based …6.5
- CVE-2026-25541Bytes is a utility library for working with bytes. From vers…7.5
- CVE-2026-25542Tekton Pipelines project provides k8s-style resources for de…6.5
- CVE-2026-25544Payload is a free and open source headless content managemen…9.8
- CVE-2026-25545Astro is a web framework. Prior to version 9.5.4, Server-Sid…8.6
- CVE-2026-25546Godot MCP is a Model Context Protocol (MCP) server for inter…7.8
- CVE-2026-25547@isaacs/brace-expansion is a hybrid CJS/ESM TypeScript fork …9.2
- CVE-2026-25548InvoicePlane is a self-hosted open source application for ma…9.1
- CVE-2026-25549Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2026-25543?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
