@tiptap/core@3.30.4

headless rich text editor

  • latest version

    3.31.3

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    9 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