mailparser@3.7.1 vulnerabilities

Parse e-mails

  • latest version

    3.9.4

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    10 days ago

  • licenses detected

    • >=0.2.0 <2.0.0; >=2.6.0 <3.0.0; >=3.0.1
  • Direct Vulnerabilities

    Known vulnerabilities in the mailparser package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    mailparser is an email parser.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the textToHtml() function due to the improper sanitisation of URLs in the email content. An attacker can execute arbitrary scripts in victim browsers by adding extra quote " to the URL with embedded malicious JavaScript code.

    How to fix Cross-site Scripting (XSS)?

    Upgrade mailparser to version 3.9.3 or higher.

    <3.9.3