p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости better-helperjs

За последние 30 дней в better-helperjs опубликовано уязвимостей: 0; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 1

  1. GHSA-3p34-w4f6-5xh2

    Высокий · CVSS 7.5Есть исправление

    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()`: `

    • Обновитесь до 3.0.6

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →