CVE-2026-40321: DotNetNuke.Core Cross-Site Scripting Vulnerability
HIGHCVE-2026-40321 is a HIGH (CVSS 8.0) cross-site scripting vulnerability (CWE-87: Improper Neutralization of Alternate XSS Syntax) affecting DotNetNuke.Core libraries in the NuGet ecosystem. The issue involves dotnetnuke.core has stored cross-site-scripting (xss) via svg upload. Remediation is available by upgrading affected packages to version 10.2.2.
CVE-2026-40321 at a Glance
Security Impact
CVSS: 8.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-40321
To remediate this vulnerability, upgrade all affected DotNetNuke.Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade DotNetNuke.Core to 10.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for DotNetNuke.Core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-40321, inspect your project dependencies for DotNetNuke.Core:
inspect dependencies for DotNetNuke.Core
Analyze the terminal output to locate any version of DotNetNuke.Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.2.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-87: Improper Neutralization of Alternate XSS Syntax, where the product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax. In DotNetNuke.Core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-40321 Affected DotNetNuke.Core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
DotNetNuke.Core
|
NuGet |
< 10.2.2
|
10.2.2
|
References
Frequently Asked Questions
What is CVE-2026-40321?
Which DotNetNuke.Core versions are affected?
What version fixes CVE-2026-40321?
Is DotNetNuke.Core affected?
What is the CVSS score of CVE-2026-40321?
What CWE is associated with CVE-2026-40321?
How can I check NuGet dependencies for CVE-2026-40321?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ffq7-898w-9jc4",
"modified" : "2026-04-24T20:50:37Z",
"published" : "2026-04-10T20:42:48Z",
"aliases" : [ "CVE-2026-40321" ],
"summary" : "DotNetNuke.Core has stored cross-site-scripting (XSS) via SVG upload",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "DotNetNuke.Core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "10.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/Dnn.Platform/security/advisories/GHSA-ffq7-898w-9jc4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40321"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dnnsoftware/Dnn.Platform"
}, {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/Dnn.Platform/releases/tag/v10.2.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-87" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-10T20:42:48Z",
"nvd_published_at" : "2026-04-17T22:16:32Z"
}
}