smol-toml

A small, fast, and correct TOML parser/serializer

1.9.1Latest, 9 Oct 2026
301MDownloads, last month
0Advisories on the latest
4Advisories, all versions
BSD-3-ClauseLicence
327Stars

Known advisories

Severity Advisory Fix Published
Moderate smol-toml: Quadratic-time parse() from parseKey rescanning to end of document on each key line GHSA-r4xh-jqrq-34v2 Fixed in 1.9.0 5 Oct 2026
High smol-toml: Denial of Service via malformed TOML documents CVE-2026-85730 Fixed in 1.7.1 9 Sep 2026
Moderate smol-toml: Denial of Service via TOML documents containing thousands of consecutive commented lines GHSA-v3rj-xjv7-4jmq Fixed in 1.6.1 25 Mar 2026
Moderate smol-toml has a Denial of Service via malicious TOML document using deeply nested inline tables GHSA-pqhp-25j4-6hq9 Fixed in 1.3.1 22 Nov 2024

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.