prosemirror-model@0.16.1 vulnerabilities

ProseMirror's document model

  • latest version

    1.24.1

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the prosemirror-model package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    prosemirror-model is a ProseMirror's document model

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to a node or mark serializer function that puts a value from an attribute directly in an array used to describe a DOM structure and not fully sanitize these attributes when they are read from JSON. A malicious actor can inject an attribute or a structure into the document via a tampered API request.

    How to fix Cross-site Scripting (XSS)?

    Upgrade prosemirror-model to version 1.22.1 or higher.

    <1.22.1