GHSA-4q55-j62x-fr9h: Npm/devalue vulnerability

Published Oct 1, 2026
·
Updated

This is another instance of https://github.com/sveltejs/devalue/security/advisories/GHSA-mwv9-gp5h-frr4, where some payloads could cause parse to create objects with a proto own property. This on its own is not enough to cause prototype pollution, and indeed this is actually how JSON.parse works, but we decided to be a little more defensive here and not allow the creation of objects with proto own-properties. It is very unlikely for this to cause any issues.

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:13 PM
Data Sourced
via GitHub·03:13 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Does creating an own `__proto__` property cause prototype pollution by itself?

No. The advisory states that this behavior alone is not enough to cause prototype pollution; it is also how `JSON.parse` behaves.

2

What would an attacker need to do to trigger the behavior?

They would need to supply a payload that is processed by `parse` and causes it to create an object with an own `__proto__` property.

3

How urgent is remediation?

The advisory says it is very unlikely that this behavior will cause issues. A defensive change was released in devalue v5.9.3 to prevent creation of objects with own `__proto__` properties.

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