Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. devalue
  4. ›
  5. GHSA-mcm9-63f2-9j32

GHSA-mcm9-63f2-9j32: devalue: Repeated primitive strings cause quadratic expansion in uneval

October 1, 2026

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

References

  • github.com/advisories/GHSA-mcm9-63f2-9j32
  • github.com/sveltejs/devalue/commit/84f6f67999104e36940f744bec0443536de1b463
  • github.com/sveltejs/devalue/releases/tag/v5.9.3
  • github.com/sveltejs/devalue/security/advisories/GHSA-mcm9-63f2-9j32

Code Behaviors & Features

Detect and mitigate GHSA-mcm9-63f2-9j32 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.9.3

Fixed versions

  • 5.9.3

Solution

Upgrade to version 5.9.3 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)

Source file

npm/devalue/GHSA-mcm9-63f2-9j32.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 15 Oct 2026 12:17:07 +0000.