p PatchFirst

GHSA-w32g-5hqp-gg6q

GHSA-w32g-5hqp-gg6q · Cross-Site Scripting in mermaid

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

Versions of `mermaid` prior to 8.2.3 are vulnerable to Cross-Site Scripting. If malicious input such as `A["<img src=invalid onerror=alert('XSS')></img>"] ` is provided to the application, it will execute the code instead of rendering it as text due to improper output encoding. ## Recommendation Upgrade to version 8.2.3 or later

Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • mermaid npm

    Plages de versions concernées
    • SEMVER: < 8.2.3

    Mettez à jour vers 8.2.3

Sources originales

Vérifiez votre serveur →