@vendure/core is vulnerable to Unrestricted Upload of File with Dangerous Type
85
High Risk
The asset upload flow determines an uploaded file's type from the client-supplied Content-Type header instead of inspecting the actual file contents. An authenticated administrator can set an arbitrary Content-Type to bypass the permitted-file-type allowlist and store files of dangerous types, which can lead to code execution depending on how assets are served. The fix inspects file magic bytes with content-based type detection in addition to the declared MIME type.
You are affected if you are using a version that falls within the vulnerable range and you allow administrators to upload assets.
@vendure/core is vulnerable to Unrestricted Upload of File with Dangerous Type in versions 3.6.0 - 3.6.4.
Upgrade the @vendure/core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.