GHSA-hx4r-w6wj-j8fg: Npm/devalue vulnerability

Published Oct 1, 2026
·
Updated

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.

Affected Software

1 affected componentFixes available
npm/devalue<=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

Which applications are realistically exposed to event-loop blocking?

Applications are exposed only if they pass attacker-influenced sparse array values to uneval. The advisory notes that attacker-controlled creation of sparse arrays is very difficult, making exploitation difficult in practice.

2

What capability does an attacker need to exploit this issue?

An attacker needs to cause the application to provide a sparse array with a large declared length to uneval. Processing is synchronous and proportional to that declared length, so successful exploitation can block the event loop.

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