DNN vulnerable to stored cross-site-scripting (XSS) via SVG upload
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Oct 28, 2025 
          in
          
            dnnsoftware/Dnn.Platform
          
          •
          Updated Oct 29, 2025 
      
  
Description
        Published by the National Vulnerability Database
      Oct 28, 2025 
    
  
        Published to the GitHub Advisory Database
      Oct 29, 2025 
    
  
        Reviewed
      Oct 29, 2025 
    
  
        Last updated
      Oct 29, 2025 
    
  
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