# js-toml (npm) vulnerabilities

3 known vulnerabilities (2 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 2.0.1 (Aug 4, 2026): no advisory affects it
- Newest unaffected release: 2.0.1 (Aug 4, 2026), the latest release
- Weekly downloads: 41.5K
- Dependents: 3
- Releases: 15 since 0.1.0 (Nov 13, 2022)
- Registry: https://www.npmjs.com/package/js-toml
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-50029: 0.1.0 to 1.1.1 (1.1.2 is outside it)
- CVE-2026-49293: 0.1.0 to 1.1.1 (1.1.2 is outside it)
- CVE-2025-54803: 0.1.0 to 1.0.1 (1.0.2 is outside it)

## Advisories (3)

### [CVE-2026-50029](https://cve.now/CVE-2026-50029): js-toml has silent type confusion via falsy-primitive duplicate-key bypass

- Severity: Medium 5.3
- Published: Aug 14, 2026
- Affected: fixed in 1.1.2.
- Fixed in 1.1.2 (released May 28, 2026, 78 days before disclosure).
- The latest release, 2.0.1, is not affected.
- 43% of js-toml downloads last week were affected versions (18.9K).

### [CVE-2026-49293](https://cve.now/CVE-2026-49293): CPU exhaustion via O(n^2) BigInt construction on radix-prefixed integer literals

- Severity: High 7.5
- Published: Jun 19, 2026
- Affected: fixed in 1.1.2.
- Fixed in 1.1.2 (released May 28, 2026, 22 days before disclosure).
- The latest release, 2.0.1, is not affected.
- 43% of js-toml downloads last week were affected versions (18.9K).

### [CVE-2025-54803](https://cve.now/CVE-2025-54803): js-toml is vulnerable to Prototype Pollution

- Severity: High 7.9
- Published: Aug 5, 2025
- Affected: fixed in 1.0.2.
- Fixed in 1.0.2 (released Aug 3, 2025, 2 days before disclosure).
- The latest release, 2.0.1, is not affected.
- 9.2% of js-toml downloads last week were affected versions (4K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/js-toml
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
