@tiptap/core@3.27.2

headless rich text editor

  • latest version

    3.31.3

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    11 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @tiptap/core package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

    @tiptap/core is a headless rich text editor

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) through the Pandoc-style parseAttributes helper in packages/core/src/utilities/markdown/attributeUtils.ts and the shortcode attribute parser in packages/core/src/utilities/markdown/createInlineMarkdownSpec.ts. An attacker can block the browser main thread, server event loop, or worker by supplying crafted Markdown attribute strings to createAtomBlockMarkdownSpec, createBlockMarkdownSpec, or createInlineMarkdownSpec. Persisted Markdown documents can repeatedly freeze clients, and repeated parsing requests can tie up server-side Markdown processing with a small input.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade @tiptap/core to version 3.30.5 or higher.

    >=3.7.0 <3.30.5
    • M
    Prototype Pollution

    @tiptap/core is a headless rich text editor

    Affected versions of this package are vulnerable to Prototype Pollution via the mergeAttributes function. An attacker can inject malicious prototype properties by supplying crafted objects with a __proto__ key, which can result in inherited executable DOM attributes being set and arbitrary JavaScript execution in the application's origin when these attributes are rendered.

    Note: This is only exploitable if untrusted objects are merged and the resulting attributes are preserved and enumerated for DOM serialization.

    How to fix Prototype Pollution?

    Upgrade @tiptap/core to version 3.30.4 or higher.

    >=2.0.0-alpha.0 <3.30.4