Question 390
A security operations team receives this report: A support page reflects a user-controlled search term into HTML without encoding, and an injected script runs in another user's browser. After that step, which observation most directly confirms that the specific issue was resolved or correctly characterized?
Explanation
Correct Answer
This is the most specific observable confirmation. A safe script marker displays as text without execution. It verifies the selected response (Apply context-appropriate output encoding and strict content handling.) for the stated problem rather than an unrelated healthy component.
Incorrect Answers
This result would confirm a different incident: A browser-side application puts a privileged API secret in public JavaScript, allowing any viewer to call administrative endpoints. It could occur even if the present fault continued. The relevant issue here is: Reflected XSS arises when untrusted content is rendered as browser code.
This result would confirm a different incident: An API accepts path components such as ../../private/keys and returns files outside its public directory. It could occur even if the present fault continued. The relevant issue here is: Reflected XSS arises when untrusted content is rendered as browser code.
This result would confirm a different incident: An endpoint assessment marks a flaw exploitable based on a CVE but a vendor-specific version check shows the affected module is not installed. It could occur even if the present fault continued. The relevant issue here is: Reflected XSS arises when untrusted content is rendered as browser code.