A web application behind a load balancer shows signs of a reflected XSS attempt, but CSP headers are present. Which CSP-related issue most likely allowed exploitation?
Answer
CSP uses default-src 'self' but omits script-src restrictions for inline scripts
Explanation
If script execution policies are incomplete (e.g., inline scripts permitted due to missing script-src controls), reflected payloads may execute. The other options describe stronger CSP configurations that reduce XSS viability.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In the described incident, which action most directly improves evidence quality for subsequent forensic analysis?
View question →
In a suspected supply-chain attack, a CI/CD pipeline pulls a third-party dependency from an unauthenticated source. What is the best control to prevent tampering?
View question →
A SOC receives alerts for rapid creation of new service accounts followed by immediate IAM policy changes. Which MITRE ATT&CK technique best matches the account lifecycle behavior?
View question →
A company uses a single shared database user across multiple services. After compromise, an attacker can read many tables and laterally move. Which design change most directly limits blast radius?
View question →
Which metric combination most effectively supports determining whether a suspected ransomware activity is actually data encryption versus destructive wiper behavior?
View question →
You suspect an attacker is using DNS tunneling to exfiltrate data. Which detection signal is most characteristic?
View question →