Problem
Creator-provided preview content can introduce XSS, unsafe links, tracking pixels, or layout-breaking payloads.
Scope
- Sanitize preview markdown and rich text
- Restrict unsafe links and embeds
- Add security regression tests
Acceptance criteria
Relevant areas
src/pages/prompts
src/pages/sell
server/tests
Complexity
High - 200 points
Contributor guidance
Start with a short design note in the issue discussion, then implement with focused tests and documentation for the affected workflow.
Problem
Creator-provided preview content can introduce XSS, unsafe links, tracking pixels, or layout-breaking payloads.
Scope
Acceptance criteria
Relevant areas
src/pages/promptssrc/pages/sellserver/testsComplexity
High - 200 points
Contributor guidance
Start with a short design note in the issue discussion, then implement with focused tests and documentation for the affected workflow.