mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
🔒 [security] Fix DOM XSS in Markdown rendering
- Added DOMPurify library via CDN to landing and dashboard pages. - Sanitized Markdown output before assigning to innerHTML in `landing/index.html` and `dashboard/app.js`. - Verified the fix with a reproduction script. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
59c3cecad3
commit
f7481989b2