Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam PDI Topic 2 Question 93 Discussion

Actual exam question for Salesforce's Platform Developer I exam
Question #: 93
Topic #: 2
[All Platform Developer I Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Dion
15 days ago
Hmmm, I'd say B is the clear winner here. Or should I say, the clear loser? Security, people, security!
upvoted 0 times
...
Matt
16 days ago
Ha! I bet the developers who wrote option B were like, 'What could possibly go wrong?' Famous last words, my friend.
upvoted 0 times
Raina
3 days ago
User 1: Option B looks risky.
upvoted 0 times
...
...
Floyd
21 days ago
Option B? More like option 'Oh no, you didn't!' Yikes, that's a security nightmare waiting to happen.
upvoted 0 times
Tyisha
8 days ago
User 1: Option B? More like option 'Oh no, you didn't!' Yikes, that's a security nightmare waiting to happen.
upvoted 0 times
...
...
Nikita
27 days ago
That makes sense. Thanks for pointing that out.
upvoted 0 times
...
Farrah
30 days ago
B looks like the one that could present a security vulnerability. Allowing unescaped user input to be rendered on the page could lead to potential cross-site scripting (XSS) attacks.
upvoted 0 times
Helene
5 days ago
Definitely, security should always be a top priority when coding.
upvoted 0 times
...
Marjory
6 days ago
We should always be careful with user input to prevent security vulnerabilities.
upvoted 0 times
...
Adell
16 days ago
Yes, allowing unescaped user input to be rendered on the page could lead to potential XSS attacks.
upvoted 0 times
...
Carolann
17 days ago
We should always be careful with user input to prevent any XSS attacks.
upvoted 0 times
...
Chantay
18 days ago
I think B is the one that could present a security vulnerability.
upvoted 0 times
...
Mila
21 days ago
I agree, option B could definitely lead to a security vulnerability.
upvoted 0 times
...
...
Gail
1 months ago
Because the value attribute is not properly escaped, making it vulnerable to cross-site scripting attacks.
upvoted 0 times
...
Nikita
2 months ago
Why do you think that?
upvoted 0 times
...
Gail
2 months ago
I think option A might present a security vulnerability.
upvoted 0 times
...

Save Cancel