mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-15 07:17:30 +00:00
fix(blog): sanitize post HTML to prevent stored XSS (fixes #57)
This commit is contained in:
parent
8f4691584c
commit
b223acd052
2 changed files with 12 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue