link-preview-js@1.5.0 vulnerabilities

Javascript module to extract and fetch HTTP link information from blocks of text.

  • latest version

    3.1.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the link-preview-js 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
    Server-side Request Forgery (SSRF)

    link-preview-js is a Javascript module to extract and fetch HTTP link information from blocks of text.

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) which allows attackers to send arbitrary requests to the local network and read the response. This is due to flawed DNS rebinding protection.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade link-preview-js to version 2.1.16 or higher.

    <2.1.16