# CVE-2026-25543: HtmlSanitizer has a bypass via template tag

Source: https://junglewise.ai/threats/cve-2026-25543-htmlsanitizer-has-a-bypass-via-template-tag  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-03  
License: CC BY 4.0 with a link back

CVE-2026-25543 · Severity: medium · CVSS 4 · Published 2026-02-03

HtmlSanitizer has a bypass via template tag

Technologies: [HtmlSanitizer (NuGet)](https://junglewise.ai/threats/technologies/nuget-htmlsanitizer). Vendors: [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

**Is CVE-2026-25543 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-25543 being exploited in the wild.

**How severe is CVE-2026-25543?** Medium severity, with a CVSS score of 4, published 3 February 2026.

**Which products and versions are affected?** HtmlSanitizer (NuGet) ECOSYSTEM:introduced=0,fixed=9.0.892.

**Is there a fix for CVE-2026-25543?** Yes. HtmlSanitizer (NuGet): upgrade to 9.0.892 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-25543?** Check whether you run HtmlSanitizer (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- HtmlSanitizer (NuGet): upgrade to 9.0.892 or later

  ```sh
  dotnet add package HtmlSanitizer --version 9.0.892
  ```


## Affected products

- HtmlSanitizer (NuGet) ECOSYSTEM:introduced=0,fixed=9.0.892

## Identifiers

- CVE-2026-25543
- GHSA-j92c-7v7g-gj3f

## Related threats

- [HtmlSanitizer vulnerable to Cross-site Scripting in Foreign Content](https://junglewise.ai/threats/cve-2023-44390-htmlsanitizer-vulnerable-to-cross-site-scripting-in-foreign)
- [XSS in HtmlSanitizer](https://junglewise.ai/threats/cve-2020-26293-xss-in-htmlsanitizer)
