p PatchFirst

PatchFirst · Latest vulnerabilities

better-helperjs vulnerabilities

Vulnerabilities published for better-helperjs in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerability: 1

  1. GHSA-3p34-w4f6-5xh2

    High · CVSS 7.5Fix available

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

    ## Summary 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. ## Details The framework utilizes a custom static file server engine used when running in `NODE_ENV=production` (`src/ssr/site-server.ts`). Inside the `safeStaticPath()` method, the requested path is checked against the static root directory to prevent directory traversal out of the designated public folder. However, the validation uses `String.prototype.startsWith()`: `

    • Update to 3.0.6
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →