mirror of
https://github.com/R0m1k3/podcastic.git
synced 2026-10-23 23:18:05 +02:00
security: sanitize episode HTML with DOMPurify (XSS)
Episode descriptions came from third-party RSS feeds and were rendered via dangerouslySetInnerHTML without sanitization. Wrap with DOMPurify using a whitelist of safe tags/attrs and an http(s)/mailto-only URI regex. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e2adce33b8
commit
9bf95b4ac9
3 files changed
+6190
-4
No files matched your search
Generated
+6177
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user