Skip to content

BeechCMS


BeechCMS / @beechcms/core / BLOCKED_IMAGE_EXTENSIONS

Variable: BLOCKED_IMAGE_EXTENSIONS ​

const BLOCKED_IMAGE_EXTENSIONS: ReadonlySet<string>

SVG is intentionally blocked from general file upload as it can embed executable scripts creating a stored XSS vulnerability when served directly to browsers.