Whenever you're ready, walk me through how you'd approach this.
You're reviewing a backend service that exposes sensitive API endpoints for account data and administrative actions. Before rollout, you need to make sure the endpoints are protected against common web vulnerabilities and that the team has a practical plan to reduce security risk without blocking delivery.
What security measures would you implement to protect sensitive API endpoints from common vulnerabilities like SQL injection and Cross-Site Scripting (XSS)?