Variables · Question 11 of 12

A template outputs a visitor comment with {comment -> f:format.raw()}. What is the risk?

1 answer is correct. Hard

Show answer

Answer

  • C Execution of malicious code (XSS)

Explanation

f:format.raw removes escaping. If the comment contains <script>, it ends up unfiltered in the HTML. User input must therefore be output escaped, as Fluid does by default.

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