svelte-misc
Warn
Audited by Socket on Oct 8, 2026
1 alert found:
AnomalyAnomalyexamples/debug-html.md
LOWAnomalyLOW
examples/debug-html.md
The code is benign documentation, but several examples demonstrate unsafe raw HTML rendering when inputs are not trusted. The primary security concern is cross-site scripting through {@html}, especially the unsanitized Markdown and post.excerpt examples. The DOMPurify example shows an appropriate mitigation. {@debug} can expose values in development logs but does not indicate malware. Review and sanitize all attacker-influenced HTML before insertion.
Confidence: 98%Severity: 62%
Audit Metadata