VDB
Sign up
MEDIUM6.4

GHSA-hmvq-8p83-cq52

DNN vulnerable to stored cross-site-scripting (XSS) via SVG upload

Quick fix

GHSA-hmvq-8p83-cq52 — DotNetNuke.Core: upgrade to the fixed version with the command below.

dotnet add package DotNetNuke.Core --version 10.1.1

Details

### 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

NuGet/DotNetNuke.Core
Introduced in: 0Fixed in: 10.1.1
Fixdotnet add package DotNetNuke.Core --version 10.1.1

References