# CVE-2023-44390: HtmlSanitizer vulnerable to Cross-site Scripting in Foreign Content

Source: https://junglewise.ai/threats/cve-2023-44390-htmlsanitizer-vulnerable-to-cross-site-scripting-in-foreign  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-10-04  
License: CC BY 4.0 with a link back

CVE-2023-44390 · Severity: low · CVSS 3.1 · Published 2023-10-04

HtmlSanitizer vulnerable to Cross-site Scripting in Foreign Content

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

## Quick answers

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

**How severe is CVE-2023-44390?** Low severity, with a CVSS score of 3.1, published 4 October 2023.

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

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

**Am I affected by CVE-2023-44390?** 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 8.0.723 or later

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


## Affected products

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

## Identifiers

- CVE-2023-44390
- GHSA-43cp-6p3q-2pc4

## Related threats

- [HtmlSanitizer has a bypass via template tag](https://junglewise.ai/threats/cve-2026-25543-htmlsanitizer-has-a-bypass-via-template-tag)
- [XSS in HtmlSanitizer](https://junglewise.ai/threats/cve-2020-26293-xss-in-htmlsanitizer)
