Intel

AIKIDO-2026-10656

@tiptap/static-renderer is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 30, 2026

61

Medium Risk

This Affects:

JS@tiptap/static-renderer
3.0.0-next.1 - 3.22.4
Fixed in 3.22.5
Are you affected? Scan for Free

TL;DR

The HTML-string renderer pathways serialize editor JSON and ProseMirror-backed fragments into markup strings for downstream embedding and previews. Serialized plain-text fragments and serialized HTML attributes previously interpolated raw attacker-supplied strings into attribute builders and text concatenations without contextual escaping. Untrusted document JSON describing markup-like payloads could therefore influence emitted angle brackets and quotes to introduce executable markup relative to consumer sanitization assumptions. The patch applies shared escaping helpers so emitted attributes and text-node payloads encode problematic HTML delimiter characters consistently.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@tiptap/static-renderer is vulnerable to Cross-Site Scripting (XSS) in versions 3.0.0-next.1 - 3.22.4.

How to fix this

Upgrade the @tiptap/static-renderer library to the patch version.