Skip to content
OpenAdvisories
Medium GHSA-88h9-fc6v-jcw7

Unintended Require in larvitbase-www

Published Sep 3, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

All versions of `larvitbase-www` are vulnerable to an Unintended Require. The package exposes an API endpoint and passes a GET parameter unsanitized to an `require()` call. This allows attackers to execute any `.js` file in the same folder as the server is running.

## Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Affected packages

EcosystemPackageAffectedFixedRecord
npm larvitbase-www >= 0.0.0 — GHSA-88h9-fc6v-jcw7

References