Install
devalue
Gets the job done when JSON.stringify can't
6.0.4Latest, 24 Nov 2026
126MDownloads, last month
0Advisories on the latest
16Advisories, all versions
MITLicence
2.8KStars
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | devalue: Malformed null-prototype object keys bypass __proto__ rejection via property-key coercion CVE-2026-123561 | Fixed in 5.9.3 | 1 Oct 2026 |
| Moderate | devalue: Residual sparse-array CPU amplification in uneval CVE-2026-123566 | Fixed in 5.9.3 | 1 Oct 2026 |
| High | devalue: `stringify`/`uneval` serialize shared memory CVE-2026-92708 | Fixed in 5.9.3 | 1 Oct 2026 |
| High | devalue: Repeated primitive strings cause quadratic expansion in uneval CVE-2026-123565 | Fixed in 5.9.3 | 1 Oct 2026 |
| High | devalue: Custom ArrayBuffer revivers can bypass typed-array allocation validation CVE-2026-123563 | Fixed in 5.9.3 | 1 Oct 2026 |
| Low | devalue: Sparse arrays emitted by uneval cause eager allocation when evaluated CVE-2026-123564 | Fixed in 5.9.3 | 1 Oct 2026 |
| High | devalue: stringifyAsync can cause an unhandled rejection despite a caught returned promise CVE-2026-123562 | Fixed in 5.9.3 | 1 Oct 2026 |
| Moderate | Svelte devalue: DoS via malformed input CVE-2026-81176 | Fixed in 5.9.2 | 17 Sep 2026 |
| High | Svelte devalue: DoS via sparse array deserialization CVE-2026-42570 | Fixed in 5.8.1 | 14 May 2026 |
| Moderate | devalue has prototype pollution in devalue.parse and devalue.unflatten CVE-2026-30226 | Fixed in 5.6.4 | 12 Mar 2026 |
| Low | Sveltejs devalue's `devalue.parse` and `devalue.unflatten` emit objects with `__proto__` own properties CVE-2026-123567 | Fixed in 5.6.4 | 12 Mar 2026 |
| Low | devalue affected by CPU and memory amplification from sparse arrays CVE-2026-123569 | Fixed in 5.6.3 | 19 Feb 2026 |
| Low | devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed CVE-2026-123568 | Fixed in 5.6.3 | 19 Feb 2026 |
| High | devalue vulnerable to denial of service due to memory/CPU exhaustion in devalue.parse CVE-2026-22775 | Fixed in 5.6.2 | 15 Jan 2026 |
| High | Devalue is vulnerable to denial of service due to memory exhaustion in devalue.parse CVE-2026-22774 | Fixed in 5.6.2 | 15 Jan 2026 |
In the news
- POINT-COUNTERPOINT: Court devalues U.S. citizenship with birthright ruling tahlequahdailypress.com, 13 Jul 2026
- Guest Column: Devaluing life not the way to lower drug prices tribstar.com, 6 May 2026
- Japanese knotweed spreads in UK town as locals fear it 'could devalue homes" express.co.uk, 23 Aug 2025
- Roiskies: Devaluing truth makes America weak thedailynewsonline.com, 25 Mar 2025
- Egypt Devalues Currency, Hikes Interest Rates But Will Reforms Stick? gfmag.com, 11 Mar 2024
On Hacker News
- Why Did China Just Devalue the Yuan? How Trade Works with Free-Floating Currency 311 points, 166 comments, 19 Aug 2019
- China Moves to Devalue Yuan 82 points, 62 comments, 11 Aug 2015
- Lebanon to devalue currency by 90% on Feb. 1, central bank chief says 30 points, 6 comments, 31 Jan 2023
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.