Vulnerability library
Security checkJune 26, 2026

better-helperjs Vulnerable to Directory Traversal via String Prefix Bypass in Static Server

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

High severitynpmbetter-helperjs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A directory traversal vulnerability exists in the production static file server of better-helperjs (<= 3.0.5). Attackers can read arbitrary files located in adjacent directory structures that share the same string prefix as the intended static root directory.

Recommendation

Update the better-helperjs package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 3.0.5
  • Patched version(s): 3.0.6

References

Could your website be exposed too?

SmartScanner can check your website for better-helperjs Vulnerable to Directory Traversal via String Prefix Bypass in Static Server and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 26, 2026