asymmetric-effort/specifyjs · Security

@asymmetric-effort/specifyjs: `data:` URI allowed without size restriction

GHSA ID
GHSA-2944-57xv-2682
Severity
medium
Published
Updated
CVSS v4
6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Description

Finding

Location: core/src/shared/secure-fetch.ts:33-35

data: URIs were allowed without any restriction. While data: URIs don't make network requests, they can be used for memory exhaustion via very large data URIs.

Status

Fixed in v0.2.136 — data: URIs are now limited to 1MB. URIs exceeding this limit throw an error.

CWEs

References