link-preview-js@1.6.0 vulnerabilities

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

  • latest version

    4.0.0

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    24 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the link-preview-js 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
    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