@n8n/api-types@0.23.0 vulnerabilities

This package contains types and schema definitions for the n8n internal API, so that these can be shared between the backend and the frontend code.

  • latest version

    0.2.0

  • latest non vulnerable version

  • first published

    7 months ago

  • latest version published

    7 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @n8n/api-types package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

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

    @n8n/api-types is a fair-code workflow automation platform with native AI capabilities

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via a lack of MIME type validation on uploaded binary files, which can be controlled through a GET parameter. This allows an authenticated attacker with member-level privileges to upload a crafted HTML file containing malicious code. If another authenticated user visits the binary data endpoint with the MIME type specified as text/html, the embedded script will execute within the user's browser session, potentially enabling account takeover, for instance, by initiating an unauthorized email address change.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @n8n/api-types to version 0.25.0 or higher.

    <0.25.0