p PatchFirst

CVE-2026-116582

CVE-2026-116582 · Seroval: Script injection through RegExp sources in serialized output

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

Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.0.0 and from 1.5.5 until 1.6.10, the JavaScript-output APIs serialize a RegExp source containing a less-than character without the escaping needed for an HTML script element. An application is affected when it builds regular expression syntax from untrusted input, serializes that RegExp through serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer, or compileJSON, and embeds the result in an HTML script element. The crafted source can terminate the element and execute script in the page received by another user. This issue is fixed in version 1.6.10.

CVSS 4.7 · Moyenne · EPSS 0,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • seroval

    Versions du logiciel
    • < 1.0.0: Concernée
    • >= 1.5.5, < 1.6.10: Concernée

    Aucun correctif publié

  • seroval npm

    Plages de versions concernées
    • SEMVER: ≥ 1.5.5, < 1.6.10

    Mettez à jour vers 1.6.10

  • seroval npm

    Plages de versions concernées
    • SEMVER: < 1.0.0

    Mettez à jour vers 1.0.0

Sources originales

Vérifiez votre serveur →