sveltejs/devalue · Security

devalue: Repeated primitive strings cause quadratic expansion in uneval

GHSA ID
GHSA-mcm9-63f2-9j32
Severity
high
Published
Updated
CVSS v4
8.2 · CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Description

Under very constrained circumstances, data that was parsed and then passed to uneval could turn a small payload into a very large serialized string.

CWEs

References