Affected versions of string are vulnerable to regular expression denial of service when specifically crafted untrusted user input is passed into the underscore…
CyberXYZ does not call a package safe in absolute terms. It records 1 known vulnerability for string (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does string have known vulnerabilities?
Yes. CyberXYZ records 1 known vulnerability for string (npm), the worst rated HIGH. They are GHSA-g36h-6r4f-3mqp.
How do I check string before installing?
Search string in CyberXYZ Check at https://cyberxyz.io/check?q=string. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 10:53 UTC. The most recent advisory here was published 2018-07-24. Updated continuously from NVD, GHSA, OSV and CNA feeds.