Advisory record · GHSA-43cp-6p3q-2pc4

HtmlSanitizer vulnerable to Cross-site Scripting in Foreign Content

CVSS 6.1 MediumEPSS 0.0042 · 36th percentile

Published by the GitHub Advisory Database at 4 Oct 2023, 18:52 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
HtmlSanitizerNuGet<8.0.723 || >=8.1.0-beta, <8.1.722-beta8.0.723, 8.1.722-beta
Identifiers
GHSA-43cp-6p3q-2pc4 · CVE-2023-44390
Weakness (CWE)
CWE-79
Published
4 Oct 2023
Updated
10 Sept 2026

Machine-written summary

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

HtmlSanitizer NuGet package versions before 8.0.723, and 8.1.0-beta up to but not including 8.1.722-beta, are vulnerable to cross-site scripting when the allowed elements include svg or math together with certain other elements such as iframe, style, or title. An attacker who can supply input to a sanitized application could bypass the sanitizer and inject arbitrary HTML, including JavaScript. Upgrade to 8.0.723 or 8.1.722-beta. Alternatively, remove svg and math from the allowed elements, which is the default configuration and is not affected.

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.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 36th percentile, on 24 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:21 UTC First seen by agentprime
  2. 31 Oct 2026, 15:21 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.