Formatting · Question 10 of 12

Which format ViewHelpers can lead to XSS when used carelessly?

2 answers are correct. Medium

Show answer

Answer

  • A f:format.htmlentitiesDecode
  • C f:format.raw

Explanation

raw removes escaping, htmlentitiesDecode turns escaped characters back into HTML. htmlspecialchars and stripTags, in contrast, make the output safer.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications