Intel

AIKIDO-2026-661829

@vendure/asset-server-plugin is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-f4r3-h6jf-4m29 Published Today

48

Medium Risk

This Affects:

JS@vendure/asset-server-plugin
0.0.1 - 3.7.2
Fixed in 3.7.3
Are you affected? Scan for Free

TL;DR

The asset server permits SVG uploads by default and serves them with Content-Type image/svg+xml without sanitization. Embedded JavaScript in an uploaded SVG executes when a victim opens the asset URL directly, allowing an administrator with upload rights to persist scripts that run in other users' browsers. The fix removes SVG from the default permitted types, sanitizes SVG content, serves such assets as attachments, and strengthens the content security policy headers.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you permit SVG uploads and serve them through the asset server.

Background info

@vendure/asset-server-plugin is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.7.2.

How to fix this

Upgrade the @vendure/asset-server-plugin library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform