Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. devalue
  4. ›
  5. GHSA-hx4r-w6wj-j8fg

GHSA-hx4r-w6wj-j8fg: devalue: Residual sparse-array CPU amplification in uneval

October 1, 2026

uneval performs synchronous work proportional to a sparse array’s declared length. An application that passes attacker-influenced sparse values to uneval can suffer event-loop blocking. Since attacker-controlled creation of sparse arrays is so difficult, this vulnerability is very difficult to exploit.

References

  • github.com/advisories/GHSA-hx4r-w6wj-j8fg
  • github.com/sveltejs/devalue/commit/6861dbbb7e548849e48bce718e88747a298f7250
  • github.com/sveltejs/devalue/releases/tag/v5.9.3
  • github.com/sveltejs/devalue/security/advisories/GHSA-hx4r-w6wj-j8fg

Code Behaviors & Features

Detect and mitigate GHSA-hx4r-w6wj-j8fg 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 3.7 LOW

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-407: Inefficient Algorithmic Complexity

Source file

npm/devalue/GHSA-hx4r-w6wj-j8fg.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 07 Oct 2026 00:17:38 +0000.