Deluge Web-UI vulnerable to XSS through a crafted torrent file
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Aug 27, 2022 
          to the GitHub Advisory Database
          •
          Updated Sep 16, 2024 
      
  
Description
        Published by the National Vulnerability Database
      Aug 26, 2022 
    
  
        Published to the GitHub Advisory Database
      Aug 27, 2022 
    
  
        Reviewed
      Sep 1, 2022 
    
  
        Last updated
      Sep 16, 2024 
    
  
The Deluge Web-UI is vulnerable to cross-site scripting through a crafted torrent file. The the data from torrent files is not properly sanitised as it's interpreted directly as HTML. Someone who supplies the user with a malicious torrent file can execute arbitrary Javascript code in the context of the user's browser session.
References