GHSA-j92c-7v7g-gj3f · Severity: medium · Ecosystem: nuget — HtmlSanitizer has a bypass via template tag
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.
Conclusion & alert: CVE-2026-25543 is rated Low Risk (29.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-25 | 0.06% | 0.04% | -0.01% |
| 2 | 2026-02-10 | 0.04% | 0.06% | +0.01% |
| 3 | 2026-02-05 | — | 0.04% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-j92c-7v7g-gj3f · Severity: medium · Ecosystem: nuget — HtmlSanitizer has a bypass via template tag
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| htmlsanitizer_project | htmlsanitizer | < 9.0.892 | cpe:2.3:a:htmlsanitizer_project:htmlsanitizer:*:*:*:*:*:*:*:* |
| htmlsanitizer_project | htmlsanitizer | >= 9.1.878, < 9.1.893 | cpe:2.3:a:htmlsanitizer_project:htmlsanitizer:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/mganss/HtmlSanitizer/commit/0ac53dca30ddad963f2b243669a5066933d82b81 | Patch |
| https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-j92c-7v7g-gj3f | Mitigation Patch Vendor Advisory |
| https://www.nuget.org/packages/HtmlSanitizer/9.0.892 | Product Release Notes |
| https://www.nuget.org/packages/HtmlSanitizer/9.1.893-beta | Product Release Notes |