p PatchFirst

CVE-2025-62410

CVE-2025-62410 · --disallow-code-generation-from-strings is not sufficient for isolating untrusted JavaScript in happy-dom

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

In versions before 20.0.2, it was found that --disallow-code-generation-from-strings is not sufficient for isolating untrusted JavaScript in happy-dom. The untrusted script and the rest of the application still run in the same Isolate/process, so attackers can deploy prototype pollution payloads to hijack important references like "process" in the example below, or to hijack control flow via flipping checks of undefined property. This vulnerability is due to an incomplete fix for CVE-2025-61927. The vulnerability is fixed in 20.0.2.

CVSS 9.4 · Critique · EPSS 0,4% · Code d’exploitation public · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • happy-dom

    Versions du logiciel
    • < 20.0.2: Concernée

    Aucun correctif publié

  • happy-dom npm

    Plages de versions concernées
    • SEMVER: ≥ 19.0.0, < 20.0.2

    Mettez à jour vers 20.0.2

Sources originales

Vérifiez votre serveur →