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

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

HtmlSanitizer has a bypass via template tag

Technologies: HtmlSanitizer (NuGet). 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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.