Passwords transmitted in plain text by Jenkins Stash Branch Parameter Plugin
        
  Low severity
        
          GitHub Reviewed
      
        Published
          May 24, 2022 
          to the GitHub Advisory Database
          •
          Updated Jan 28, 2023 
      
  
Package
Affected versions
<= 0.3.0
  Patched versions
None
  Description
        Published by the National Vulnerability Database
      Jul 2, 2020 
    
  
        Published to the GitHub Advisory Database
      May 24, 2022 
    
  
        Reviewed
      Dec 29, 2022 
    
  
        Last updated
      Jan 28, 2023 
    
  
Stash Branch Parameter Plugin stores Stash API passwords in its global configuration file
org.jenkinsci.plugins.StashBranchParameter.StashBranchParameterDefinition.xmlon the Jenkins controller as part of its configuration.While the password is stored encrypted on disk, it is transmitted in plain text as part of the configuration form by Stash Branch Parameter Plugin 0.3.0 and earlier. This can result in exposure of the password through browser extensions, cross-site scripting vulnerabilities, and similar situations.
This only affects Jenkins before 2.236, including 2.235.x LTS, as Jenkins 2.236 introduces a security hardening that transparently encrypts and decrypts data used for a Jenkins password form field.
References