preact-render-to-string@3.0.4 vulnerabilities

Render JSX to an HTML string, with support for Preact components.

  • latest version

    6.5.12

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the preact-render-to-string 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)

    preact-render-to-string is a library that renders JSX to an HTML string, with support for Preact components.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when spread attributes in the ssr files are unsanitized and can therefore be attack vectors for untrusted user input.

    How to fix Cross-site Scripting (XSS)?

    Upgrade preact-render-to-string to version 3.7.2 or higher.

    <3.7.2