GHSA-hmvq-8p83-cq52
DNN vulnerable to stored cross-site-scripting (XSS) via SVG upload
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| NuGet | DotNetNuke.Core | < 10.1.1 | 10.1.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Summary
Sanitization of the content of uploaded SVG files was not covering all possible XSS scenarios.
### Details
DNN validates the contents of SVG's to ensure they are valid and do not contain any malicious code. These checks were introduced as part of `CVE-2025-48378`.
However, the checks to ensure there are no script elements within the SVG files are not comprehensive and may allow some malicious SVG files to be uploaded.
As this vulnerability allows for the execution of arbitrary JavaScript code within the context of the user's browser, it can lead to a range of attacks, including data exfiltration, session hijacking, and defacement of the web application to name a few.
References
External links from the advisory. They lead to third-party sites.