DNN Vulnerable to Stored Cross-Site Scripting (XSS) in the Prompt module
Published 23 Sept 2025 · Updated 23 Sept 2025
Is your project on an affected DotNetNuke.Core?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <10.1.0
- Fixed in
- 10.1.0
dotnet add package DotNetNuke.Core --version 10.1.0Details
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.
Is GHSA-2qxc-mf4x-wr29 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected DotNetNuke.Core, and gives you the command that fixes it.
More advisories for DotNetNuke.Core
- LowGHSA-fcpv-w245-r2q7DotNetNuke.Core security code analysis rules triggered · 14 Apr 2026
- MediumCVE-2026-40306DNN: Same HostGUID for all new installs · 10 Apr 2026
- MediumCVE-2026-40305DNN: Force Friend Request Acceptance · 10 Apr 2026
- HighCVE-2026-40321DotNetNuke.Core has stored cross-site-scripting (XSS) via SVG upload · 10 Apr 2026
- CriticalCVE-2026-24838DotNetNuke.Core Vulnerable to Stored XSS via Module Title · 28 Jan 2026
- HighCVE-2026-24837DotNetNuke.Core Vulnerable to Stored XSS in Module Deletion Confirmation Modal · 28 Jan 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.