CVE-2025-59545: DotNetNuke.Core Cross-Site Scripting Vulnerability

CRITICAL
Advisory Identifier: GHSA-2qxc-mf4x-wr29
CVSS 9.0
CWE-79
Published
Advisory Summary

CVE-2025-59545 is a CRITICAL (CVSS 9.0) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting DotNetNuke.Core libraries in the NuGet ecosystem. The issue involves dnn vulnerable to stored cross-site scripting (xss) in the prompt module. Remediation is available by upgrading affected packages to version 10.1.0.

CVE-2025-59545 at a Glance

CVE Identifier CVE-2025-59545
GHSA Identifier GHSA-2qxc-mf4x-wr29
Severity CRITICAL
CVSS v3.1 Base Score 9.0
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product DotNetNuke.Core
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 9.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-59545

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.

DotNetNuke.Core fixed: 10.1.0
Upgrade DotNetNuke.Core to 10.1.0
Verify Direct and Transitive Dependencies

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-59545, 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. 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

# Summary The Prompt module allows execution of commands that can return raw HTML. Malicious input, even if sanitized for display elsewhere, can be executed when processed through certain commands, leading to potential script execution (XSS). # Description The application sanitizes most user-submitted data before displaying it in entry forms. However, the Prompt module is capable of running commands whose output is treated as HTML. This creates a vulnerability where a malicious user can craft input containing embedded scripts or harmful markup. If such malicious content is later processed by a Prompt command and returned as HTML, it bypasses the standard sanitation mechanisms. Simply executing a specific command through the Prompt module could render this untrusted data and cause unintended script execution in the browser specially in the context of a super-user.

CVE-2025-59545 Affected DotNetNuke.Core Versions

1 component(s)
Fixed Versions:
10.1.0
Product / Package Ecosystem Affected Versions Fixed Version
DotNetNuke.Core
NuGet
< 10.1.0
10.1.0

References

Frequently Asked Questions

What is CVE-2025-59545?
CVE-2025-59545 is a security vulnerability in DotNetNuke.Core involving DNN Vulnerable to Stored Cross-Site Scripting (XSS) in the Prompt module under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which DotNetNuke.Core versions are affected?
Affected versions include releases prior to 10.1.0 across affected packages: DotNetNuke.Core.
What version fixes CVE-2025-59545?
Upgrading to 10.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is DotNetNuke.Core affected?
Yes, DotNetNuke.Core is affected in releases prior to 10.1.0. Upgrade your dependency to 10.1.0 or later.
What is the CVSS score of CVE-2025-59545?
CVE-2025-59545 has a CVSS v3.1 base score of 9.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-59545?
CVE-2025-59545 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check NuGet dependencies for CVE-2025-59545?
Run the dependency tree command: 'inspect dependencies for DotNetNuke.Core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2qxc-mf4x-wr29",
  "modified" : "2025-09-23T19:13:19Z",
  "published" : "2025-09-23T15:09:19Z",
  "aliases" : [ "CVE-2025-59545" ],
  "summary" : "DNN Vulnerable to Stored Cross-Site Scripting (XSS) in the Prompt module",
  "details" : "# Summary\nThe Prompt module allows execution of commands that can return raw HTML. Malicious input, even if sanitized for display elsewhere, can be executed when processed through certain commands, leading to potential script execution (XSS).\n\n# Description\nThe application sanitizes most user-submitted data before displaying it in entry forms. However, the Prompt module is capable of running commands whose output is treated as HTML. This creates a vulnerability where a malicious user can craft input containing embedded scripts or harmful markup.\n\nIf such malicious content is later processed by a Prompt command and returned as HTML, it bypasses the standard sanitation mechanisms. Simply executing a specific command through the Prompt module could render this untrusted data and cause unintended script execution in the browser specially in the context of a super-user.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/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.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dnnsoftware/Dnn.Platform/security/advisories/GHSA-2qxc-mf4x-wr29"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-59545"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dnnsoftware/Dnn.Platform"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-23T15:09:19Z",
    "nvd_published_at" : "2025-09-23T18:15:38Z"
  }
}