Vulnerabilities/

Sveltia CMS: Stored XSS in Markdown/RichText preview via unsandboxed same-origin iframe

Severity:
Low

Description

A stored cross-site scripting (XSS) vulnerability affected the Markdown/RichText field preview renderer in Sveltia CMS.

The DOMPurify sanitization configuration used for Markdown previews explicitly permitted iframe elements without enforcing a sandbox attribute or restricting iframe sources.

Recommendation

Update the @sveltia/cms package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@sveltia/cms
Anything's wrong? Let us know Last updated on June 19, 2026