Vulnerability library
Security checkApril 16, 2026

Paperclip: Stored XSS via javascript: URLs in MarkdownBody — urlTransform override disables react-markdown sanitization

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@paperclipai/ui

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

MarkdownBody, the shared component used to render every Markdown surface in the Paperclip UI (issue documents, issue comments, chat threads, approvals, agent details, export previews, etc.), passes urlTransform={(url) => url} to react-markdown.

Recommendation

Update the @paperclipai/ui package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2026.416.0
  • Patched version(s): 2026.416.0

References

Could your website be exposed too?

SmartScanner can check your website for Paperclip: Stored XSS via javascript: URLs in MarkdownBody — urlTransform override disables react-markdown sanitization and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 16, 2026