Vulnerability library
Security checkMay 21, 2026

@tootallnate/once vulnerable to Incorrect Control Flow Scoping

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

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Versions of the package @tootallnate/once before 3.0.1 are vulnerable to Incorrect Control Flow Scoping in promise resolving when AbortSignal option is used. The Promise remains in a permanently pending state after the signal is aborted, causing any await or .then() usage to hang indefinitely.

Recommendation

Update the @tootallnate/once package to the latest compatible version. Followings are version details:

  • Affected version(s): **< 2.0.1 >= 3.0.0, < 3.0.1**
  • Patched version(s): **2.0.1 3.0.1**

References

Could your website be exposed too?

SmartScanner can check your website for @tootallnate/once vulnerable to Incorrect Control Flow Scoping and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 21, 2026