Berildocs GitHub

Memory cards

CSP is bypassed by a trusted script source, not by a weak directive alone

confidence: highupdated: 2026-11-24status: activewebcspxss

Claim#

A JSONP endpoint, an allowlisted CDN with a gadget, a base tag, or a reusable nonce gives the attacker script under the policy.

Test#

Read the policy. List every allowed host and scheme. Look for JSONP, Angular, script gadgets and base-uri. Inject a script from an allowed source.

Proof#

Script execution while the CSP header stays unchanged.

Failure modes#

A report-only policy does not block. A missing CSP is a different finding.