Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @toon-format/toon
  4. ›
  5. CVE-2026-82404

CVE-2026-82404: TOON: Prototype pollution when decoding untrusted TOON input

September 3, 2026

Decoding attacker-controlled TOON containing a __proto__, constructor, or prototype key wrote through the object’s prototype chain instead of creating an own property, polluting Object.prototype for the whole runtime. The expandPaths: 'safe' path (dotted keys such as a.__proto__.x) was the strongest vector; plain nested objects, tabular rows, and quoted keys were all affected. The encoder had a matching defect: it silently dropped own __proto__ properties and could fire an inherited setter while normalizing.

References

  • github.com/advisories/GHSA-p95v-992w-h6c3
  • github.com/toon-format/toon/commit/94a2b7560b2b5ed903a4d466a3bce8b13daa2660
  • github.com/toon-format/toon/pull/316
  • github.com/toon-format/toon/releases/tag/v2.3.1
  • github.com/toon-format/toon/security/advisories/GHSA-p95v-992w-h6c3
  • nvd.nist.gov/vuln/detail/CVE-2026-82404

Code Behaviors & Features

Detect and mitigate CVE-2026-82404 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.1

Fixed versions

  • 2.3.1

Solution

Upgrade to version 2.3.1 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/@toon-format/toon/CVE-2026-82404.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 04 Sep 2026 00:24:28 +0000.