This website uses cookies to ensure you get the best experience.
Learn more.
A report displays comments entered by users. What prevents stored script from executing in the browser when ordinary text is expected?
Published
- Naming the comment column SAFE_TEXT
- Disabling all authorization schemes
- Appropriate output escaping for the rendered context
- Trusting the text because it was stored in the database
Comments — 0
Sign in to comment