Implement XSS prevention for:
Application context: ${{APPLICATION_CONTEXT}}
User input handling: ${{INPUT_HANDLING}}
Framework: ${{FRAMEWORK}}
Protect against:
- Reflected XSS
- Stored XSS
- DOM-based XSS
Implement:
- Output encoding
- Content Security Policy
- Input sanitization
- HTTPOnly cookies
- Framework security featuresOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{APPLICATION_CONTEXT][{INPUT_HANDLING][{FRAMEWORK]