Headline
GHSA-hmvq-8p83-cq52: DNN vulnerable to stored cross-site-scripting (XSS) via SVG upload
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.
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
- GHSA-hmvq-8p83-cq52
- https://nvd.nist.gov/vuln/detail/CVE-2025-64094