Question 30
At the Tarnbridge cloud software developer, a user comment appears as executable script in another visitor's browser. Which underlying issue most directly explains this situation?
Explanation
Correct Answer
The architectural weakness is that untrusted content becomes browser-executable code when inserted without correct encoding. It can be addressed through the controlled change to apply context-appropriate output encoding and a defense-in-depth content security policy.
Incorrect Answers
The offered principle is: A severity number alone does not describe exploit likelihood or enterprise impact. In the source material it is associated with: A severity number alone does not describe exploit likelihood or enterprise impact. This case has a different controlling cause: Untrusted content becomes browser-executable code when inserted without correct encoding. Its keyed mechanism is: Untrusted content becomes browser-executable code when inserted without correct encoding.
The offered principle is: Social authority cues cannot substitute for verified identity. In the source material it is associated with: Social authority cues cannot substitute for verified identity. This case has a different controlling cause: Untrusted content becomes browser-executable code when inserted without correct encoding. Its keyed mechanism is: Untrusted content becomes browser-executable code when inserted without correct encoding.
Although encryption without authenticated peer identity can allow interception, the presented symptoms do not support that as the primary cause; they indicate that untrusted content becomes browser-executable code when inserted without correct encoding. For the Tarnbridge cloud software developer, the direct corrective action is to apply context-appropriate output encoding and a defense-in-depth content security policy.