CVE-2025-59535: DotNetNuke.Core DNN Allows Loading Unused Themes Vulnerability
MODERATECVE-2025-59535 is a MODERATE (CVSS 6.5) dnn allows loading unused themes vulnerability (CWE-829: Inclusion of Functionality from Untrusted Control Sphere) affecting DotNetNuke.Core libraries in the NuGet ecosystem. The issue involves dnn allows loading unused themes on anonymous clients through query parameters. Remediation is available by upgrading affected packages to version 10.1.0.
CVE-2025-59535 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L).
How to Fix CVE-2025-59535
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.1.0
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-2025-59535, 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.1.0), 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-829: Inclusion of Functionality from Untrusted Control Sphere, where the product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. 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-2025-59535 Affected DotNetNuke.Core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
DotNetNuke.Core
|
NuGet |
< 10.1.0
|
10.1.0
|
References
Frequently Asked Questions
What is CVE-2025-59535?
Which DotNetNuke.Core versions are affected?
What version fixes CVE-2025-59535?
Is DotNetNuke.Core affected?
What is the CVSS score of CVE-2025-59535?
What CWE is associated with CVE-2025-59535?
How can I check NuGet dependencies for CVE-2025-59535?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wq2j-w9pm-7x2p",
"modified" : "2025-09-22T21:59:35Z",
"published" : "2025-09-22T21:10:20Z",
"aliases" : [ "CVE-2025-59535" ],
"summary" : "DNN allows loading unused themes on anonymous clients through query parameters",
"details" : "### Summary\nArbitrary themes can be loaded through query parameters. If an installed theme had a vulnerability, even if it was not used on any page, this could be loaded on unsuspecting clients without knowledge of the site owner.\n\n### Details\nMany people who run DNN sites have a number of installed themes that they do not actually use. This could be because they were testing many themes during initial setup, because they have changed themes over time, or because they have development and production versions of a theme. Whatever the reason, many times the unused themes will become outdated over time as site admins wouldn't have reason to update something that is not used. However, this could introduce an entry point to exploit a vulnerable theme by making the server run the unused theme for unsuspecting client requests. Depending on the vulnerability in a theme, this could lead to server side or client side arbitrary code execution. With DNN 10.1.0 this functionality is now disabled by default but a setting was introduced in the Security module to turn activate the functionality.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "DotNetNuke.Core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "10.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/Dnn.Platform/security/advisories/GHSA-wq2j-w9pm-7x2p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-59535"
}, {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/Dnn.Platform/commit/72f30f69fd2214d77f6c2577dfcca495a24caf5c"
}, {
"type" : "WEB",
"url" : "https://dnncommunity.org/?SkinSrc=%5BG%5Dskins%2Fxcillion%2Fhome&ContainerSrc=%5BG%5DContainers%2FXcillion%2FNoTitle"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dnnsoftware/Dnn.Platform"
}, {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/Dnn.Platform/blob/develop/DNN%20Platform/Library/UI/Skins/Skin.cs#L305"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-829" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-22T21:10:20Z",
"nvd_published_at" : "2025-09-22T21:16:00Z"
}
}