# CVE-2026-40321: DotNetNuke.Core has stored cross-site-scripting (XSS) via SVG upload

Source: https://junglewise.ai/threats/cve-2026-40321-dotnetnuke-core-has-stored-cross-site-scripting-xss-via-svg  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-17. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-40321 · Severity: high · CVSS 8 · Published 2026-04-17

DNN (formerly DotNetNuke) is an open-source web content management platform (CMS) in the Microsoft ecosystem. Prior to version 10.2.2, a user could upload a specially crafted SVG file that could include scripts that can target both authenticated and unauthenticated DNN users. The impact is increased if the scripts are run by a power user. Version 10.2.2 patches the issue.

Technologies: [Dnnsoftware Dotnetnuke](https://junglewise.ai/threats/technologies/dotnetnuke), [DotNetNuke.Core (NuGet)](https://junglewise.ai/threats/technologies/dotnetnuke-core). Vendors: [Dnnsoftware](https://junglewise.ai/threats/vendors/dnnsoftware), [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

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

**How severe is CVE-2026-40321?** High severity, with a CVSS score of 8, published 17 April 2026.

**Which products and versions are affected?** DotNetNuke.Core (NuGet) < 10.2.2, ECOSYSTEM:introduced=0,fixed=10.2.2.

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

**Am I affected by CVE-2026-40321?** Check whether you run Dnnsoftware Dotnetnuke or DotNetNuke.Core (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

- DotNetNuke.Core (NuGet): upgrade to 10.2.2 or later

  ```sh
  dotnet add package DotNetNuke.Core --version 10.2.2
  ```


## Affected products

- Dnnsoftware Dotnetnuke
- DotNetNuke.Core (NuGet) < 10.2.2, ECOSYSTEM:introduced=0,fixed=10.2.2

## Identifiers

- CVE-2026-40321
- GHSA-ffq7-898w-9jc4

## References

- [https://api.github.com/users/bdukes](https://api.github.com/users/bdukes)
- [https://github.com/bdukes](https://github.com/bdukes)
- [https://api.github.com/users/bdukes/gists%7B/gist_id%7D](https://api.github.com/users/bdukes/gists%7B/gist_id%7D)
- [https://api.github.com/users/bdukes/repos](https://api.github.com/users/bdukes/repos)
- [https://avatars.githubusercontent.com/u/59507?v=4](https://avatars.githubusercontent.com/u/59507?v=4)
- [https://api.github.com/users/bdukes/events%7B/privacy%7D](https://api.github.com/users/bdukes/events%7B/privacy%7D)

## Related threats

- [DNN: Same HostGUID for all new installs](https://junglewise.ai/threats/cve-2026-40306-dnn-same-hostguid-for-all-new-installs)
- [DNN: Force Friend Request Acceptance](https://junglewise.ai/threats/cve-2026-40305-dnn-force-friend-request-acceptance)
- [DNN DotNetNuke.Core insecure XML processing and weak cryptography](https://junglewise.ai/threats/dnn-dotnetnuke-core-insecure-xml-processing-and-weak-cryptography-fd6489d4)
- [DotNetNuke.Core Vulnerable to Stored XSS via Module Title](https://junglewise.ai/threats/cve-2026-24838-dotnetnuke-core-vulnerable-to-stored-xss-via-module-title)
- [DotNetNuke.Core Vulnerable to Stored XSS in Module Deletion Confirmation Modal](https://junglewise.ai/threats/cve-2026-24837-dotnetnuke-core-vulnerable-to-stored-xss-in-module-deletion)
