Advisory record · GHSA-j92c-7v7g-gj3f

HtmlSanitizer has a bypass via template tag

CVSS 6.3 MediumEPSS 0.0027 · 19th percentile

Published by the GitHub Advisory Database at 3 Feb 2026, 19:22 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
HtmlSanitizerNuGet<9.0.892 || >=9.1.878-beta, <9.1.893-beta9.0.892, 9.1.893-beta
Identifiers
GHSA-j92c-7v7g-gj3f · CVE-2026-25543
Weakness (CWE)
CWE-79 · CWE-116
Published
3 Feb 2026
Updated
28 Feb 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

HtmlSanitizer versions below 9.0.892, and 9.1.878-beta through 9.1.892-beta, are vulnerable when the template tag is allowed. Its contents are not sanitized, so an attacker who can supply HTML to be sanitized can get script to run in the rendered page, which is a cross-site scripting risk. The default configuration is not affected because template is disallowed by default. Upgrade to 9.0.892 or 9.1.893-beta. If upgrading is not possible, keep the template tag disallowed.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0027, the 19th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:22 UTC First seen by agentprime
  2. 31 Oct 2026, 15:22 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.