DNN Vulnerable to Stored Cross-Site Scripting (XSS) in the Prompt module
Critical severity
GitHub Reviewed
Published
Sep 22, 2025
in
dnnsoftware/Dnn.Platform
•
Updated Sep 23, 2025
Description
Published to the GitHub Advisory Database
Sep 23, 2025
Reviewed
Sep 23, 2025
Published by the National Vulnerability Database
Sep 23, 2025
Last updated
Sep 23, 2025
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.
References