GHSA-wf3x-273g-mvxv: Npm/devalue vulnerability

Published Oct 1, 2026
·
Updated

Evaluating legitimate uneval output for a sparse array can allocate memory proportional to its declared length. A tiny serialized value can therefore cause large memory allocation in a consuming browser/runtime. This occurs during evaluation of generated code, not in default parse sparse-array construction.

You would only be affected by this if you were serializing very large sparse arrays and then evaluating the results. In the general use case for uneval of sending data to the client, the worst that could happen is the browser tab running out of memory.

Affected Software

1 affected componentFixes available
npm/devalue>=1.0.0<=5.9.2
5.9.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/devalue to a version that resolves this vulnerability.

    Fixed in 5.9.3

Event History

Oct 1, 2026
Advisory Published
via GitHub·03:17 PM
Data Sourced
via GitHub·03:17 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications are affected only if they serialize very large sparse arrays with `uneval` and later evaluate the generated output in a browser or runtime. Default `parse` handling of sparse arrays is not affected.

2

What does exploitation require?

An attacker would need to cause a consumer to evaluate `uneval` output representing a sparse array with a very large declared length. A small serialized payload can then trigger memory allocation proportional to that length.

3

What is the likely impact for client-side use?

For the general use case of sending `uneval` data to a client, the stated worst-case impact is that the browser tab runs out of memory.

4

How can I tell whether my application is affected?

Review whether your application uses `uneval` to serialize very large sparse arrays and evaluates the resulting code. Uses limited to default `parse` sparse-array construction are not affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203