Skip to content

fix: escape admin event page values#137

Open
vagdotdev wants to merge 1 commit into
tscircuit:mainfrom
vagdotdev:bounty/admin-events-html-escape-5
Open

fix: escape admin event page values#137
vagdotdev wants to merge 1 commit into
tscircuit:mainfrom
vagdotdev:bounty/admin-events-html-escape-5

Conversation

@vagdotdev

Copy link
Copy Markdown

Summary

  • escape untrusted event type and event detail values in /admin/events/list
  • cover custom event payloads that would otherwise render scriptable HTML
  • keep the change scoped to admin event rendering

Validation

  • bun test tests/routes/admin-events-page.test.ts
  • bun test
  • bunx tsc --noEmit
  • bun run format:check
  • bun run build
  • git diff --check

/claim #5

@vagdotdev

Copy link
Copy Markdown
Author

/claim #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant