Cross site scripting in markdown-to-jsx
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Oct 15, 2024 
          to the GitHub Advisory Database
          •
          Updated Oct 15, 2024 
      
  
Description
        Published by the National Vulnerability Database
      Oct 15, 2024 
    
  
        Published to the GitHub Advisory Database
      Oct 15, 2024 
    
  
        Reviewed
      Oct 15, 2024 
    
  
        Last updated
      Oct 15, 2024 
    
  
Versions of the package markdown-to-jsx before 7.4.0 are vulnerable to Cross-site Scripting (XSS) via the src property due to improper input sanitization. An attacker can execute arbitrary code by injecting a malicious iframe element in the markdown.
References