markdown-pdf vulnerable to local file read via server side cross-site scripting (XSS)
        
  High severity
        
          GitHub Reviewed
      
        Published
          Apr 5, 2023 
          to the GitHub Advisory Database
          •
          Updated Feb 13, 2025 
      
  
Description
        Published by the National Vulnerability Database
      Apr 4, 2023 
    
  
        Published to the GitHub Advisory Database
      Apr 5, 2023 
    
  
        Reviewed
      Apr 5, 2023 
    
  
        Last updated
      Feb 13, 2025 
    
  
markdown-pdf version 11.0.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the Markdown content entered by the user.
References