fix(blog): sanitize post HTML to prevent stored XSS (fixes #57)

This commit is contained in:
FuturMix 2026-06-14 12:16:14 +08:00
parent 8f4691584c
commit b223acd052
2 changed files with 12 additions and 1 deletions

View file

@ -15,6 +15,7 @@
"@profullstack/autoblog": "github:profullstack/autoblog#75e54af",
"@supabase/supabase-js": "^2.105.4",
"marked": "^18.0.5",
"sanitize-html": "^2.17.0",
"next": "16.2.6",
"react": "19.2.0",
"react-dom": "19.2.0"
@ -23,6 +24,7 @@
"@playwright/test": "^1.57.0",
"@types/node": "^24.10.1",
"@types/react": "^19.2.0",
"@types/sanitize-html": "^2.13.0",
"@types/react-dom": "^19.2.0",
"typescript": "^5.9.3",
"vitest": "^4.0.8"