Skip to content

← Public intelligence

npm package

underscore.string

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratednpmAmendedPublished

    Regular Expression Denial of Service in underscore.string

    GHSA-v2p6-4mp7-3r9v

    Affected
    • npm underscore.string < 3.3.5
    Fixed in
    3.3.5· Vendor fix available
    Issue
    Versions of underscore.string prior to 3.3.5 are vulnerable to Regular Expression Denial of Service (ReDoS). The function unescapeHTML is vulnerable to ReDoS due to an overly-broad regex. The slowdown is approximately 2s for 50,000 characters but grows exponentially with larger inputs. Recommendation Upgrade to version 3.3.5 or higher.

    Recommended action: Upgrade to 3.3.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →