Glossary

CONTENT SECURITY POLICY / CSP
defined.

An HTTP response header that constrains which sources of scripts, styles, and other resources a browser will execute.

A–Z

What is Content Security Policy (CSP)?

CSP is the strongest browser-side defence against XSS. Modern policies use strict-dynamic with a per-request nonce: only nonced inline scripts run, and dynamically inserted scripts inherit trust from their loader.

Where this shows up.

See our web application penetration testing, API security testing, network penetration testing, and cloud security audit services for how we test for and defend against this class of issue.

Test for this in your stack

BOOK A FREE
scoping call.

30-minute call with an OSCP-certified engineer. Tailored proposal in 24 hours.