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

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, DotNetNuke.Core (NuGet). Vendors: Dnnsoftware, 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
    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

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