Improper Neutralization of Special Elements used in a Command ('Command Injection') in @floffah/build
Impact
If you are using the esbuild target or command you are at risk of code/option injection. Attackers can use the command line option to maliciously change your settings in order to damage your project.
Patches
The problem has been patched in v1.0.0 as it uses a proper method to pass configs to esbuild/estrella.
Workarounds
There is no work around. You should update asap.
Notes
This notice is mainly just to make sure people update to the latest version. This isn't that bad, but should encourage you to update.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @floffah/build | < 1.0.0 | 1.0.0 |
References
- Weakness (CWE)
CWE-77- Platform
- npm
- Package
@floffah/build- Disclosed
- 28.05.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-jcgr-9698-82jx - CC BY 4.0
Vulnerability history: @floffah/build
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.