nerdexam
Salesforce

PDI · Question #231

Which code in a Visualforce page and/or controller might present a security vulnerability?

Sign in or unlock PDI to reveal the answer and full explanation for question #231. The question stem and answer options stay visible for context.

Submitted by parkjh· Apr 18, 2026User Interface

Question

Which code in a Visualforce page and/or controller might present a security vulnerability?

Options

  • A<apex:outputfield value="(!ctrl.userinput)" rendered="(!isfditable}" />
  • B<apex:outputText escape="false" value="{!sCurrentPage.parameters.userInput}TM />
  • C<apex:outputField value="{'ctrl.userInput}" />
  • D<apex:outputText value="{!SCurrentPage.parameters.useriInput}" />

Unlock PDI to see the answer

You've previewed enough free PDI questions. Unlock PDI for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Visualforce#Security Vulnerabilities#Cross-Site Scripting (XSS)#apex:outputText
Full PDI Practice