@tiptap/core
3.35.0 · 20 Nov 2026MIT39.4M / weekRepositoryHomepagenpmAtom feed
3.35.0 is the newest release of 3.x.
In short
5 fixed
Security
2 advisories affect 3.22.0; 3.30.5 fixes them
- HighTiptap: Quadratic ReDoS in block and inline Markdown attribute parsingGHSA-j95f-988m-3j2f · 8 Sep 2026Fixed in 3.30.5
- ModerateTiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributesGHSA-cp6q-959q-f8rh · 2 Sep 2026Fixed in 3.30.4
Release note
The section about @tiptap/core of a note shared by several packages.
Patch Changes
Fix HTML character escaping in markdown roundtrip. HTML entities (
<,>,&,") are now decoded to literal characters when parsing markdown into the editor.<,>, and&are re-encoded when serializing back to markdown, while"is preserved as a literal character since double quotes are ordinary in markdown. Code detection for skipping encoding now uses thecode: trueextension spec instead of hardcoded type names. Literal characters inside code blocks and inline code are always preserved.Fix ResizableNodeView ignoring node's inline setting by using
inline-flexfor inline nodes andflexfor block nodesextendMarkRange defaults to using the attributes of the first mark of the given type, instead of
attributes = {}. In particular,extendMarkRange('link')no longer extends to adjacent links with different hrefs; restore the previous behavior withextendMarkRange('link', {}).Fix getMarkRange attributes default to consider the first mark of the given type
Guard mark delete event handling when
unsetMarkremoves a mark from inline content that starts at position0, preventing aRangeErrorduring the before-node lookup.@tiptap/pm@3.22.0
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.