ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question

During code review of an e-commerce site, you see shipping addresses are accepted unchanged, stored in the database, logged to text files, and later HTML-encoded in pages. Testers exploited this by adding CRLF characters that forged extra log entries. Which secure-coding action best removes the vulnerability in every sink?

  • Enable detailed stack traces in error responses so developers can spot malicious input during testing.

  • Apply server-side allow-list input validation that rejects control characters in the address before any further processing.

  • Add client-side JavaScript that strips script tags from the address field before submission.

  • Obfuscate the logging component to hide the log format from potential attackers.

ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Implementation
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot