jQuery-UI vulnerable to Cross-site Scripting in dialog closeText
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Oct 24, 2017 
          to the GitHub Advisory Database
          •
          Updated Sep 26, 2023 
      
  
Description
        Published by the National Vulnerability Database
      Mar 15, 2017 
    
  
        Published to the GitHub Advisory Database
      Oct 24, 2017 
    
  
        Reviewed
      Jun 16, 2020 
    
  
        Last updated
      Sep 26, 2023 
    
  
Affected versions of
jquery-uiare vulnerable to a cross-site scripting vulnerability when arbitrary user input is supplied as the value of thecloseTextparameter in thedialogfunction.jQuery-UI is a library for manipulating UI elements via jQuery.
Version 1.11.4 has a cross site scripting (XSS) vulnerability in the
closeTextparameter of thedialogfunction. If your application passes user input to this parameter, it may be vulnerable to XSS via this attack vector.Recommendation
Upgrade to jQuery-UI 1.12.0 or later.
References