Vulnerability library
Security checkMarch 15, 2026

es5-ext vulnerable to Regular Expression Denial of Service in `function#copy` and `function#toStringTokens`

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpmes5-ext

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Passing functions with very long names or complex default argument names into function#copy orfunction#toStringTokens may put script to stall

Recommendation

Update the es5-ext package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 0.10.0, < 0.10.63
  • Patched version(s): 0.10.63

References

Could your website be exposed too?

SmartScanner can check your website for es5-ext vulnerable to Regular Expression Denial of Service in `function#copy` and `function#toStringTokens` and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 15, 2026