p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in js-toml

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für js-toml: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 3

  1. CVE-2026-50029

    Mittel · CVSS 5.3EPSS 0,4%Korrektur verfügbar

    js-toml has silent type confusion via falsy-primitive duplicate-key bypass

    js-toml is a TOML parser for JavaScript, Prior to version 1.1.2, the interpreter checks whether a key already exists in a parser-built container with `if (object[key])` instead of `if (key in object)`. When the prior value is a falsy primitive — `false`, `0`, `0n`, `0.0`, `-0`, or `""` — the duplicate-key branch is skipped and the value is silently overwritten by a later sub-table, dotted-key sub-table, or array-of-tables sharing the same name. Per the TOML 1.0.0 spec ("Defining a key multiple times is invalid"; "You cannot define any key or table more than once"), this should be a parse error. The result is structural type confusion of attac

    • Auf 1.1.2 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-49293

    Hoch · CVSS 7.5EPSS 0,64%Korrektur verfügbar

    CPU exhaustion via O(n^2) BigInt construction on radix-prefixed integer literals

    js-toml is a TOML parser for JavaScript, fully compliant with the TOML 1.0.0 Spec. Versions up to and including 1.1.0 parse hexadecimal / octal / binary integer literals via a hand-written `parseBigInt` loop that multiplies a `BigInt` accumulator by the radix once per input digit. Each iteration performs a `BigInt * BigInt` operation on an accumulator that grows linearly with the number of digits already consumed, so the whole loop is O(n²) in the literal length. The lexer regex places no upper bound on the literal length, so a single TOML document containing one ~500 kB hex literal pins one CPU core for ~40 seconds on a modern laptop (Apple

    • Auf 1.1.1 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2025-54803

    Hoch · CVSS 7.9EPSS 0,53%Korrektur verfügbar

    js-toml is vulnerable to Prototype Pollution

    js-toml is a TOML parser for JavaScript, fully compliant with the TOML 1.0.0 Spec. In versions below 1.0.2, a prototype pollution vulnerability in js-toml allows a remote attacker to add or modify properties of the global Object.prototype by parsing a maliciously crafted TOML input. This is fixed in version 1.0.2.

    • Auf 1.0.2 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →