@tiptap/static-renderer is vulnerable to Cross-Site Scripting (XSS)
61
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
@tiptap/static-renderer is vulnerable to Cross-Site Scripting (XSS) in versions 3.0.0-next.1 - 3.22.4.
Upgrade the @tiptap/static-renderer library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant